x
Square

Redirects and Your Weebly Site

Weebly provides you two different built-in options for redirection: 301 and 302 redirects.  What are they how can you use them?

301 Redirects

The purpose of a 301 redirect is to tell the your browser or a search engine that the content its looking for has moved permanently.  Because this change is permanent, it should update the URL it has stored to the new URL.

The most common time when you’re likely to use this is if you had built your site somewhere else where the URL structure is different, or if you just changed the name of the page.  For example, say prior to coming to Weebly your contact page was “/pages/contact.php” and your new contact page at Weebly is “/contact.html”.  A 301 redirect will signify to browsers and search engines that the new, permanent address of your contact page is “/contact.html”.

To make a 301 redirect, go to Settings > SEO and scroll down to the 301 redirect section.

302 Redirects

This type of redirect is used to tell client browsers and search engines that content has moved temporarily.  This means that Google and other search engines will not update whatever address it is they have stored.  If you have and address like “http://contact.mysite.com” and make a 302 redirect to “http://www.mysite.com/contact.html”, Google will keep “http://contact.mysite.com” as the URL that you see in search results.

In order to use this type of redirect, you’ll need to have bought your domain from us, or transferred it to us so it can be managed on the Domains tab.  Go to the Domains tab and click on your domain name.  Click on “Add Record”, choose “302” from the type drop-down, enter the subdomain name in the host field, then enter the URL you want to forward it to.

30,704 Views
Message 1 of 22
Report
21 REPLIES 21

Bookmarked! Thank you for sharing this with us @Adam Smiley Happy

30,530 Views
Message 2 of 22
Report
Square

You're welcome!

30,521 Views
Message 2 of 22
Report

How do we redirect URLs with query string parameters from old site to new Weebly page?

Also, can we redirect to a specific Blog entry?

30,358 Views
Message 2 of 22
Report
Square

Redirecting a URL based on query string contents requires a different kind of redirect that you can't do right now with Weebly.  If you'd like us to add this as an option I'd suggest posting it here:

https://community.weebly.com/t5/Vote-on-Features/idb-p/IdeaExchange

If the contents of the query string don't matter, just redirect the file itself, e.g.

/somephpfile.php redirected to /somepage.html

Any query string info included with that will be ignored.

You should be able to redirect a specific blog post though; if you have the old URL you can use it like this:

/blog/my-delete-post.html Redirected to /someotherpage.html

30,347 Views
Message 2 of 22
Report

How do we know how much of the old like to include in the redirect?

For example, I am redirecting http://www.coollawyer.com/webfront/pdf/ABC%27s.pdf

to my new weebly site -- which brings up, what will the new pages URL's be?

Thank you!

28,224 Views
Message 2 of 22
Report

Hello Coollawyer! You're going to want to take everything after the end of the domain. In that case, it would be something like /webfront/pdf/ABC%27s.pdf.

28,222 Views
Message 2 of 22
Report

I have a question about redirects. I have a domain bought through another company (example: xyz.com) that I would like to redirect to my weebly page (abc.com), so when people search for xyz.com they are redirected to abc.com. Can I do this using the 301, or is this only available for domains purchased through weebly? Is there any additional costs? (I’m already paying a hosting service with weebly). 

13,044 Views
Message 8 of 22
Report
Square

Hi there. If xyz.com is the new domain name (and doesn't have any previous live content) then you would want to set up a domain forward with your domain provider. It shouldn't cost anything, but you would definitely want to check with them. Smiley Happy 

13,036 Views
Message 8 of 22
Report

When I set up a category page, it seems that weebly creates a 302 redirect to the category.  For example:

1. Create a new category called "Boys T-Shirts"

2. Create a new category page called "Boys" and connect it to the category called "Boys T-Shirts". (I'm only calling it "boys" because it will be under a menu called "T-shirts")

3. Weebly creates to new URLs: 

    a.  category URL: www.myshop.com/store/c16/Boys_T_Shirts.html

    b.  page URL:  www.myshop.com/boys1.html

This second url (www.myshop.com/boys1.html) shows up when you hover over the menu in the live site.  When you click the link, weebly sends a 302 redirect to the category URL, redirecting the browser to the category.

The problem with the 302 redirect is that google (and other search engines) thinks this is two pages, instead of one.  The see this as a duplicate page (duplicate meta) and penalize your site.

Is it possible for Weebly to fix this?  I see two possible solutions:

1. Make these 301 redirects instead of 302 redirects

2. Use the "category" URL instead of the "page" URL in the menu.  In the example above, that would mean using the "www.myshop.com/store/c16/Boys_T_Shirts.html" instead of the "www.myshop.com/boys1.html" URL.

10,411 Views
Message 10 of 22
Report
Square

Thanks for posting, @furnaceX It looks like a rep has already passed your feedback along to the appropriate team, but maybe Adam has some clarifying thoughts on this. Smiley Happy

3,774 Views
Message 10 of 22
Report

I'm also having a problem with a 302 redirect on the blog pointing from https://www.reclaimdesign.org/blog.html to https://www.reclaimdesign.org/blog

I can't see any way of addressing this myself. Can anyone advise on how to fix please? Why is it redirecting in the first instance? I don't see any value of so doing, just dropping the .html doesn't seem to make sense?

3,580 Views
Message 10 of 22
Report
Square

This is just a guess on my part, but we might be doing that because a blog page is unique in that it's actually served as a directory with other subpages in it; sort of a bandaid because of how pages work more generally. I'm not sure why we would use a 302 redirect for that instead of a 301 at least. It won't remove the redirect, though thing you could do is hide the blog page from your navigation and then add a new page using the external link option that just links directly to /blog so at least the navigation link on your site goes right to it.

3,580 Views
Message 10 of 22
Report

Hi Adam thanks very much for getting back to me and for your explanation. Is there any chance you'd be able to ask the dev team if it's possible to get a 301 redirect instead? 302 is apparently meant to be temporary and doesn't pass on any "link juice" (sounds grim doesn't it) to Google

3,578 Views
Message 10 of 22
Report
Square

Thanks for posting this to our Vote on Features board, @michaelm73. Hopefully this is something we can update!

3,574 Views
Message 10 of 22
Report

identical problem ,redirect 302 temporaly https://www.vincicoppolaspizzas.co.uk/journal.html

3,473 Views
Message 10 of 22
Report
Square

Are you looking to redirect that page somewhere else, or redirect a different page to that one, @vincicoppolas?

3,471 Views
Message 10 of 22
Report

https://www.vincicoppolaspizzas.co.uk/journal.html to https://www.vincicoppolaspizzas.co.uk/journal

this not god for seo because not index blog article ,the article signed duplicate content on google search console and other seo software 

3,465 Views
Message 10 of 22
Report

This problem 302 redirect temporary affect all weebly website at 2015 an today in 2020 the problem not solve ,my website in weebly run from 5 years and pay regular ,in this day my decision is change service and transfer to Wordpress 

3,464 Views
Message 10 of 22
Report
Square

Ah, ok, so you're looking to stop how we redirect the .html version of a blog page to the non .html version. Are you linking anywhere to .html? Google should only be seeing and following that 302 redirect if it's actually linked that way somewhere.

3,462 Views
Message 10 of 22
Report

how to remove the 302 redirects in Weebly.

I need to remove given below 302 redirection from the website as per the details  below:

            http://greenleafguidance.com/                302 Redirect To         https://www.greenleafguidance.com/
            http://www.greenleafguidance.com/            302 Redirect To    https://www.greenleafguidance.com/
            http://greenleafguidance.com/index.php       302 Redirect To   https://www.greenleafguidance.com/index.php
            http://www.greenleafguidance.com/index.php   302 Redirect To  https://www.greenleafguidance.com/index.php
            http://greenleafguidance.com/home            302 Redirect To           https://www.greenleafguidance.com/
            http://www.greenleafguidance.com/home       302 Redirect To      https://www.greenleafguidance.com/

After that, implement 301 redirection on the website as per the details below:

            http://greenleafguidance.com/               301 Redirect To              https://www.greenleafguidance.com/
            http://www.greenleafguidance.com/           301 Redirect To        https://www.greenleafguidance.com/
            http://greenleafguidance.com/index.php      301 Redirect To      https://www.greenleafguidance.com/
            http://www.greenleafguidance.com/index.php   301 Redirect To   https://www.greenleafguidance.com/
            http://greenleafguidance.com/home           301 Redirect To            https://www.greenleafguidance.com/
            http://www.greenleafguidance.com/home      301 Redirect To       https://www.greenleafguidance.com/

3,041 Views
Message 21 of 22
Report