Apache Rewrite to remove page name extensions
-
If I use Apache Rewrite to remove my file extensions from my pages will Google view those pages as new? Do I have to also 301 redirect from the "page-name.htm" to "page-name"?
I'd like to change my pages from html to php to make my life a little easier but I'm worried about losing link juice if I were to 301 on every page.
Thanks
-Brandon
-
Great!
Thanks, I may take you up on that!
-Brandon
-
Sounds good to me, but I prefer page names without extension.
You won't need 301 then, since you will keep old URLs and there won't be that short period of time when Google might possible see "duplicate" pages.
If you need help with Apache configuration let me know.
Kind regards
Bojan
-
Hi Bojan,
One thought I had was to create new php pages, keeping the same page name but using Apache to Rewrite the php to htm.
Any thoughts on this as an option?
-Brandon
-
Hi,
As stated here
http://www.seomoz.org/learn-seo/redirection
Using 301 redirect will preserve over 90% of your link juice. Give Google some time and it should pick up new page locations depending on your crawl rate.
As for seeing pages as new content, based on my short experience there is a period where Google will display new urls as new pages, but after a while he will realize that they have just moved. I'm not sure if there is a way to avoid this.
Kind regards
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
-
Wrong page ranking on SERP, above more relevant page
Often I will see the wrong page, something less relevant to a particular search, appear higher on the SERP than a more relevant page. Why does this happen and how can it be remedied? I found this Moz article, has anything been written on this topic more recently. Thanks! https://moz.com/blog/wrong-page-ranking-in-the-results-6-common-causes-5-solutions
On-Page Optimization | | NicheSocial0 -
Homepage On-page Optimization
How do you all handle homepage optimization, if you (or a client) offers a variety of services? Our homepage has the strongest link profile of any of our pages, but it lists all the areas of law we cover. Therefore, it has too many keywords and none really rank well. Should we just pick our most profitable areas and optimize for that? www.kempruge.com in case anyone would benefit from looking at the actual page. Thanks, Ruben
On-Page Optimization | | KempRugeLawGroup0 -
"Issue: Duplicate Page Content " in Crawl Diagnostics - but these pages are noindex
Saw an issue back in 2011 about this and I'm experiencing the same issue. http://moz.com/community/q/issue-duplicate-page-content-in-crawl-diagnostics-but-these-pages-are-noindex We have pages that are meta-tagged as no-everything for bots but are being reported as duplicate. Any suggestions on how to exclude them from the Moz bot?
On-Page Optimization | | Deb_VHB0 -
Pages or Blog posts?
Hi, I am currently building content for a customer's website. There are approximately 50 new content pages I am building about the business, products they serve, how-tos and tips and advice. The website is built on Wordpress so my question is would it be best to post this content as a different blog posts or as separate pages in Wordpress and link them up to a 'hub page' as mentioned on this post about How to rank (point 16) Thanks for any advice.
On-Page Optimization | | btiffin0 -
Product page optimalisation
Throughout the years our website kept on growing this has led to product pages that have so much sub-pages that nobody is able to really get a good idea of the product. We are working on a new website where the visitor is central. Together with a usability partner we have down sized the preferred data to fit on one page with a tabular system with a maximum of 4 taps. My question will this affect our find ability if we go from 10 to 15 sub-pages to one main page
On-Page Optimization | | TiasNimbas0 -
On-Page Report Card
How long will it take to see the results of changes made on my pages based on the On-Page Report Card recommendations? On-Page Report Card
On-Page Optimization | | sansonj0 -
Duplicate Page Title
Not sure how to fix this. I am getting a duplicate page title for my main url, and the index page. I have attached an image. Thanks. 0RnG6.jpg
On-Page Optimization | | pixel830 -
Would it be bad to change the canonical URL to the most recent page that has duplicate content, or should we just 301 redirect to the new page?
Is it bad to change the canonical URL in the tag, meaning does it lose it's stats? If we add a new page that may have duplicate content, but we want that page to be indexed over the older pages, should we just change the canonical page or redirect from the original canonical page? Thanks so much! -Amy
On-Page Optimization | | MeghanPrudencio0