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.

32,463 Views
Message 1 of 22
Report
21 REPLIES 21

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

32,235 Views
Message 2 of 22
Report
Square

You're welcome!

32,226 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?

32,063 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

32,052 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!

29,929 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.

29,927 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). 

14,749 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 

14,741 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.

12,116 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

5,479 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?

5,285 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.

5,285 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

5,283 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!

5,279 Views
Message 10 of 22
Report

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

5,178 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?

5,176 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 

5,170 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 

5,169 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.

5,167 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/

4,746 Views
Message 21 of 22
Report