• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

404 pages and 301 redirects

Explorer ,
Dec 26, 2018 Dec 26, 2018

Copy link to clipboard

Copied

My client hired a company to manage their SEO. They sent me the following email:

As part of our ongoing SEO efforts, we check for 404 pages and want to create 301 redirects to prevent users from landing on a dead page while visiting your website. 

Attached you will find a document outlining existing 404 pages along with the updated URL that the page needs to redirect to.  

Since I am unable to redirect these on my end, your web developer will need to implement the necessary adjustments to update these images with the recommended content. 

They sent me an excel file with 50 redirects. I have no idea how to go about doing this. The site is hosted with GoDaddy.

Here is the site:

Welcome| Dunes Eye Consultants | Dakota Dunes, SD

Can anyone help? I am not sure if this is something I can do within Muse or through GoDaddy?

Views

1.3K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Jan 08, 2019 Jan 08, 2019

Then delecte everything from .htaccess file except this part:

RewriteEngine On

RewriteCond %{SERVER_PORT} 80

RewriteCond %{HTTP_HOST} ^(www\.)?duneseye\.com

RewriteRule ^(.*)$ https://duneseye.com/$1 [R,L]

Votes

Translate

Translate
LEGEND ,
Dec 26, 2018 Dec 26, 2018

Copy link to clipboard

Copied

DesignDiva93  wrote

They sent me an excel file with 50 redirects. I have no idea how to go about doing this. The site is hosted with GoDaddy.

for example; if you had a page called fishcakes and 5 other pages linked to that fishcake page, then you delete fishcakes but don't remove the old links (something Muse automaticlly does for you) then you end up with 404 errors

what you do now is look at the list of 404 errors and re-design your site... I'm willing to bet most of these errors are caused by 3rd party tracking codes but without the list I'm just guessing

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Dec 27, 2018 Dec 27, 2018

Copy link to clipboard

Copied

Could you show us a link on your site, which ends up showing a 404 page? i can‘t find one.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 27, 2018 Dec 27, 2018

Copy link to clipboard

Copied

Muse cannot do this for you.

If you're on a Linux hosting plan you can add 301  redirects to your site's .htaccess file.   Your site's .htaccess file should be in your root level directory (public_html).  If you don't see one on your server, you can create one in any plain text / code editor like Notepad or Dreamweaver.

#301 Redirects for .htaccess

#Redirect a single page:

Redirect 301 /oldpage_name.html https://www.domain.com/newpage_name.html

More common .htaccess redirects on Github

Common .htaccess Redirects · GitHub

If you still need help, contact GoDaddy.

Nancy O'Shea— Product User, Community Expert & Moderator
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Dec 28, 2018 Dec 28, 2018

Copy link to clipboard

Copied

Thank you! I have edited the .htaccess for https redirects, so am familiar with that. My next question is, since there are over 50 redirects, can I list them all in that file? Also, the .htaccess already has a redirect for the https. I just leave that and list the 301s below?

I appreciate your help!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 28, 2018 Dec 28, 2018

Copy link to clipboard

Copied

DesignDiva93  wrote

since there are over 50 redirects, can I list them all in that file? Also, the .htaccess already has a redirect for the https. I just leave that and list the 301s below?

Yes and yes.

Nancy O'Shea— Product User, Community Expert & Moderator
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jan 07, 2019 Jan 07, 2019

Copy link to clipboard

Copied

I decided to try a test. I added 5 redirects to the .htccess file (along with the https redirect). I requested that our SEO firm check to see if the crawl errors had been fixed. In the meantime, the site was no longer accessible. An error came up saying that there were too many redirects.

Should I have done something different? This is the code I placed:

RewriteEngine On

RewriteCond %{SERVER_PORT} 80

RewriteCond %{HTTP_HOST} ^(www\.)?duneseye\.com

RewriteRule ^(.*)$ https://duneseye.com/$1 [R,L]

# Begin Muse Generated redirects

# End Muse Generated redirects

#301 Redirects for .htaccess

#Redirect a single page:

Redirect 301 /https://duneseye.com/blog/siouxland-flood-photos/ https://duneseye.com/blog.html

Redirect 301 /https://duneseye.com/rivers-edge-optical/lenses/contact-lenses/ https://duneseye.com/contact-lenses.html

Redirect 301 /https://duneseye.com/rivers-edge-optical/eye-wear/sports-performance/ https://duneseye.com/index.html

Redirect 301 /https://duneseye.com/rivers-edge-optical/eye-wear/children%E2%80%99s-eye-wear/ https://duneseye.com/index.html

Redirect 301 /https://duneseye.com/larry-womack-md.htm/ https://duneseye.com/eye-doctors.html#womack

Thank you for your help!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 07, 2019 Jan 07, 2019

Copy link to clipboard

Copied

Try using the syntax I gave you.

Redirect 301 /folder/oldpage_name.html https://www.domain.com/newpage_name.html

Nancy O'Shea— Product User, Community Expert & Moderator
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jan 08, 2019 Jan 08, 2019

Copy link to clipboard

Copied

Thank you! I see that there is now "folder" in the code. I will give it a try!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jan 08, 2019 Jan 08, 2019

Copy link to clipboard

Copied

Shoot! I tried the new code you shared, and am still getting the "ERR_TOO_MANY_REDIRECTS" error when trying to access the site.

This is the code from the .htaccess file:

RewriteEngine On

RewriteCond %{SERVER_PORT} 80

RewriteCond %{HTTP_HOST} ^(www\.)?duneseye\.com

RewriteRule ^(.*)$ https://duneseye.com/$1 [R,L]

# Begin Muse Generated redirects

# End Muse Generated redirects

Redirect 301 /folder/https://duneseye.com/blog/siouxland-flood-photos/ https://duneseye.com/blog.html

Redirect 301 /folder/https://duneseye.com/rivers-edge-optical/lenses/contact-lenses/ https://duneseye.com/contact-lenses.html

Redirect 301 /folder/https://duneseye.com/rivers-edge-optical/eye-wear/sports-performance/ https://duneseye.com/index.html

Redirect 301 /folder/https://duneseye.com/rivers-edge-optical/eye-wear/children%E2%80%99s-eye-wear/ https://duneseye.com/index.html

Redirect 301 /folder/https://duneseye.com/larry-womack-md.htm https://duneseye.com/eye-doctors.html#womack "

Any other ideas? Did I misunderstand?

Thank you!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 08, 2019 Jan 08, 2019

Copy link to clipboard

Copied

No that's not what I meant.  

Assuming you had an index page inside folder named siouxland-flood-photos inside another folder named blog, your 301 redirect would look like this:

Nancy O'Shea— Product User, Community Expert & Moderator
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jan 08, 2019 Jan 08, 2019

Copy link to clipboard

Copied

I have an index.html file, but I don't see any folders.

I apologize for my lack of understanding. I use Muse because I know little to nothing about code. Most of this reads greek to me!

I don't know where the crawl errors came from. The SEO firm found a slew of urls that need redirects. When I asked them for direction, they were not able to help.

I truly appreciate your patience and your help!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 08, 2019 Jan 08, 2019

Copy link to clipboard

Copied

As a group, I have a low opinion of so-called SEO experts.  SEO is not rocket science.  It's common sense.

Delete the .htaccess file from your server.  Right now, your server is failing to connect.   I cannot emphasize this enough, you really need to know what you're doing before you take on client projects.   A bad .htaccess file can bring down your whole website.

IMO, you should NOT redirect old URLS.  If they are gone from your server, let them go to a custom 404 page so Google can drop them from search results.  Hopefully, your 404 page has a search form so people can find exactly what they need.

Nancy O'Shea— Product User, Community Expert & Moderator
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jan 08, 2019 Jan 08, 2019

Copy link to clipboard

Copied

Thank you, Nancy. I appreciate your honesty! I don't think I can delete the .htaccess file because I need it for the https redirect - or this is what I was told by GoDaddy.

In my defense, I have been building fully functioning websites with Muse for years and have had absolutely no issues. I would not promise a client I could do something without being 100% sure I could, or knew someone who could partner with me. In this case, the client hired the SEO firm after the site was developed. I am working with them the best that I can as the client is spending a great deal of money with them.

Thank you, again, for all of your help!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 08, 2019 Jan 08, 2019

Copy link to clipboard

Copied

Then delecte everything from .htaccess file except this part:

RewriteEngine On

RewriteCond %{SERVER_PORT} 80

RewriteCond %{HTTP_HOST} ^(www\.)?duneseye\.com

RewriteRule ^(.*)$ https://duneseye.com/$1 [R,L]

Nancy O'Shea— Product User, Community Expert & Moderator
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jan 08, 2019 Jan 08, 2019

Copy link to clipboard

Copied

LATEST

Done. Thank you!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines