On-Page SEO: What Redirect does Wordpress use as Default http:// to www etc?
-
In Wordpress -> Settings -> General you set your homepage URL and site URL. If you go to the www or http:// it redirects the version set in your Wordpress settings. What sort of redirect is this though, not through Apache .htaccess????? I can't seem to find a reliable source and how is the redirection being done. I'm hoping it is a 301 but I can't find conclusive information. example site: http://www.webhostingreviews.net.au goes to http://webhostingreviews.net.au 1) I installed Firefox Live HTTP Headers but it doesn't show a redirect being executed. 2) I installed looked at the 'Net' tab in firebug and it doesn't show a redirect being executed. 3) If I go to a site like http://www.internetofficer.com/seo-tool/redirect-check/ it says it is a 301.... how is it determining that and is it correct??
-
Answer:
I can confirm that WordPress uses 301 redirects by default, and is in this case, as evidenced below. It's a highly search engine optimised platform - one of the many reasons for its popularity. As far as I'm aware, this is handled via .htaccess, which you should be sure not to edit directly (i.e. only make changes via Settings -> General). Credit to Ayima for their excellent http://www.ayima.com/seo-knowledge/redirect-checker.html extension.
Martin Oddy at Quora Visit the source
Other answers
WordPress redirects to your canonical URL via .htaccess. So for instance if you put http://www.DOMAIN.com in settings>general then WP will redirect http://DOMAIN.com to http://www.DOMAIN.com. This will also work in the reverse. Here is a link to the information in the WordPress codex: https://codex.wordpress.org/htaccess
John McAlester
Related Q & A:
- What framework must I use to develop mobile native application?Best solution by Stack Overflow
- What Hardware Should I Use?Best solution by Super User
- What is "incoming mail(POP3, IMAP, or HTTP) server?Best solution by Yahoo! Answers
- What server does this use? also, what are the incoming and outgoing server names for yahoo?Best solution by Yahoo! Answers
- What country should I do my foreign exchange in and what program should I use?Best solution by answers.yahoo.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.