Redirect and Redirect Error in Moz Crawl
-
Hello,
We have a wordpress blog attached to our magento website located at
Moz was coming back showing we had multiple page versions on show (http and https)
So i updated the htaccess file to what is below. This has fixed most of the errors, however the homepage is being a little tricky. Moz is now saying that the page is redirecting and redirecting again
http://www.domain.co.uk/blog to
http://www.domain.co.uk/blog/ to
https://www.domain.co.uk/blog/BEGIN WordPress
<ifmodule mod_rewrite.c="">RewriteEngine On
RewriteBase /blog/</ifmodule>RewriteCond %{HTTPS} !=on
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]END WordPress
Within wordpress settings the urls are set up as follows
Wordpress Address URL: https://www.domain.co.uk/blog
Site Address URL: https://www.domain.co.uk/blog
i tried to add a trailing / to these but it gets automatically removed. So i am assuming that wordpress is serving up
**RewriteBase /blog/ **is re-directing it to /
then my https rewrite is re-directing it again
I am not sure where exactly to fix this, could anybody advise?
Many thanks,
-
No worries. Let me know if you still need help
-
Thanks for the response Andy but i think i have solved it.
It belive the links redirect as originally posted, but i found a link set to the original link http://www.domain.co.uk/blog
I have updated this link and as hopefully this will stop the error in Moz.
Thanks for taking a glance though
-
Can you please include your real URL so we can have a look?
Thanks
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Fixing Index Errors in the new Google Search Console - Help
Hi, So I have started using the new Search Console and for one of my clients, there are a few 'Index Coverage Errors'. In the old version you could simply, analyse, test and then mark any URLs as fixed - does anyone know if that is possible in the new version? There are options to validate errors but no 'mark as fixed' options. Do you need to validate the errors before you can fix them?
On-Page Optimization | | daniel-brooks0 -
How to redirect subdomain to new blog directory
I have moved my wordpress blog from a subdomain to a subdirectory /blog/ on my site. What is the best way to setup a redirect from the subdomain to the new /blog/ directory? Or should I just delete the subdomain blog and wait for google to index it on /blog/. I need to do one or the other so as not to run into duplicate content issues.
On-Page Optimization | | SamCUK0 -
Acquired Old, Bad Content Site That Ranks Great. Redirect to Content on My Site?
Hello. my company acquired another website. This website is very old, the content within is decent at best, but still manages to rank very well for valuable phrases. Currently, we're leaving the entire site active on its own for its brand, but i'd like to at least redirect some of the content back to our main website. I can't justify spending the time to create improved content on that site and not our main site though. What would be the best practice here? 1. Cross-domain canonical - and build the new content on our main website? 2. 301 Redirect Old Article to New Location containing better article 3. Leave the content where it is - you won't be able to transfer the ranking across domain. Thanks for your input.
On-Page Optimization | | Blenny0 -
301 Redirect to product page or category?
We manage an ecommerce website that sells health products. A few products have now been discontinued. I’m just wondering what would be the best practice in this case. Should we 301 redirect to a similar product or to a similar category page? ANY HELP IS GREATLY APPRECIATED!
On-Page Optimization | | odegi0 -
Ajax url returns an error by google. Is there another way besides creating a HTML version?
We trying to find out if there is anything to make it so google does not keep returning errors cuase of our ajax urls. Is there any other option besides creating it all in a HTML format for google to read? Any tips or help would be great!
On-Page Optimization | | DoRM0 -
On page report card 410 error
I have been trying to test my site through the on page report card using our primary keyword phrase, however, I keep getting the following error message: We were unable to grade that page. The page did not load. Got a 410 response code from server If I try the same search and keyword phrase on other sites, it does work. Am I doing something wrong?
On-Page Optimization | | duesoon0 -
301 redirect link
Hi, I found some explanations on seomoz about permanently links, but I'm not sure, if I understood right, what to do. Our website has been created with a wrong structure and I have to change the URL of a couple of pages. E. G. http://www.ix-tours.com/Youth/ixdestBrusselYouth.aspx should be changed to http://www.ix-tours.com/DE/Jugend/BruesselJ.aspx to allow search identify it as a german page. What to do? Should I delete all content from the old page and insert the redirect to the knew one? The code as follows has to be inserted in the head section? Thank you for your help Brgds georg
On-Page Optimization | | itmlage0 -
To many links on a single page Error
I've seen it a few times where you should have less then 100 links per page to help crawling unless your a massively authoritative website. But what happens when your a large ecommerce website with categories and sub categories, you could have a category called 'computers' with a drop down list containing lots of sub cat links. Whats the solution to this? Cheers
On-Page Optimization | | activitysuper1