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
-
What should my site name be?
Hello, I'm a physical therapy clinic in Fort Myers, FL. Currently my website is named "Physical Therapy Fort Myers". My company name is Back In Motion Sport & Spine Physical Therapy. My question is, should I rename my site under my business name or is it OK to keep it as "physical therapy fort myers"?
On-Page Optimization | | backinmotion1230 -
Issue: Duplicate Page Content
Hello SEO experts, I'm facing duplicate page content issue on my website. My website is a apartments rental website when client search apartment for availability. Automatic generate same url's. I've already block these url's in robots.txt file but facing same issue. Kindly guide me what can I do. Here are some example links. http://availability.website.com/booking.php?id=17&bid=220
On-Page Optimization | | KLLC
http://availability.website.com/booking.php?id=17&bid=242
http://availability.website.com/booking.php?id=18&bid=214
http://availability.website.com/booking.php?id=18&bid=215
http://availability.website.com/booking.php?id=18&bid=256
http://availability.website.com/details.php?id=17&bid=220
http://availability.website.com/details.php?id=17&bid=242
http://availability.website.com/details.php?id=17&pid=220&bid=220
http://availability.website.com/details.php?id=17&pid=242&bid=242
http://availability.website.com/details.php?id=18&bid=214
http://availability.website.com/details.php?id=18&bid=215
http://availability.website.com/details.php?id=18&bid=256
http://availability.website.com/details.php?id=18&pid=214&bid=214
http://availability.website.com/details.php?id=18&pid=215&bid=215
http://availability.website.com/details.php?id=18&pid=256&bid=256
http://availability.website.com/details.php?id=3&bid=340
http://availability.website.com/details.php?id=3&pid=340&bid=340
http://availability.website.com/details.php?id=4&bid=363
http://availability.website.com/details.php?id=4&pid=363&bid=363
http://availability.website.com/details.php?id=6&bid=367
http://availability.website.com/details.php?id=6&pid=367&bid=367
http://availability.website.com/details.php?id=8&bid=168
http://availability.website.com/details.php?id=8&pid=168&bid=168 Thanks and waiting for your response | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |0 -
301 to Intermediate Page then Rel=Canonical from Intermediate to target page
Hi I'm working on an eCommerce site and don't have direct access to the CMS. I had requested developers to provide me a facilty to 301 via htaccess however this is working slight differently. I need guidance from experts whether it's okay or not: Old Page: example.com/old Target New Page: example.com/new After Implementing the redirect, It redirects to an intermediate page or in other words, The same target URL with a question mark added: example.com/new? (notice the question mark in the new URL) This intermediate page has a canonical tag for the exact target URL. So, if I 301 redirect example.com/old to example.com/new? (Intermediate page) and If the intermediate page example.com/new? has a canonical tag for the exact target URL (example.com/new), Will I be able to pass the link juice and authority of old page to the new page?
On-Page Optimization | | Ankkesh0 -
Page Title
Hi All, I am wondering if you could help me please. I am getting the following result after I run my On-Page Analysis Avoid Multiple Page Title Elements _Easy fix _ <dl style="font-style: normal;"> <dt>Page titles</dt> <dd>"Aquashowers-Shower Repairs Dublin -" and "Aquashowers - Shower Repairs Dublin"</dd> <dt>Explanation</dt> <dd>Web pages are meant to have a single title, and for both accessibility and search engine optimization reasons, we strongly recommend following this practice.</dd> <dt>Recommendation</dt> <dd>Remove all but a single page title element.</dd> </dl> Does this mean that i have 2 pages that are nearly identical or i should only name a page with one word? The reason i ask is because i have 1 page called "Aquashowers-Shower Repairs Dublin" and another called "Aquashowers-Dublin Shower Repair" I don't have a page called "Aquashowers - Shower Repairs Dublin" (with the space inbetween the words and the hyphen) Any help would be great. Thanks again Aidan
On-Page Optimization | | aidanlawlor0 -
Page Review Please
Can you please tell me what I can do to improve the SEO of this page. I feel like I am seeing the forest and not the trees or the other way around. I just want to learn from the errors of this page, so I can just simply learn http://azbestlistings.com/casa-grande-az-real-estate-homes-for-sale-in-casa-grande-az Thank you,
On-Page Optimization | | sansonj0 -
Looking for advice on rewriting page that is currently ranked.
Hi, we put up a page 2 years ago (available from our home page) that is currently ranking in top 5 for a few of the key words we built it for. The challenge is we did this quickly and know we can (and actually have) built out a better quality, informative page. The content while similar is completely rewritten. Does anyone have experience in rewriting low quality pages that are ranking well? Essentially we are trying to step up our game and build up our quality from a human perspective, but unsure what/if any would happen with our SEO and keywords we are currently ranking for. Thanks!
On-Page Optimization | | redfishking0 -
Is On Page SEO Dead?
Hey Guys, Search Engine Roundtable has published a short post about this a few days ago, quoting senior member at WebmasterWorld forums who said: "The way I see it, on-page text today is for the "relevance" part of the total algorithm. The whole algorithm is, in broad strokes, "relevance + connectedness + quality". After you've clearly stated the relevance of the page, then the rest of your ranking power comes from elsewhere. I've added on-page bold tags with no effect. I've added or changed h1 elements with no effect. Not too long ago, those might well have done something, but that's not the game anymore. And moving from a table layout to a CSS-P layout today might get you nowhere, too. It all depends how deeply complicated the table layout was, I think." http://www.webmasterworld.com/google/4408395.htm Is it true? Is on-page SEO really dead? What do you think?
On-Page Optimization | | ShivaS0 -
City targeting on home page
Client has a site that ranks well for "Town_A_KW", "Town_B_KW" and "Town_C_KW". The home page is the page that's ranking. These towns are part of the larger metro area for Portland. They want to start ranking for "Portland_KW" and normally, I'd recommend optimizing the home page for this phrase, and better optimizing the sub-pages for town A, B and C KW's. The client is understandably nervous about messing with re-targeting the home page since it already ranks well. Is it best to: Add "Portland_KW" to home page meta titles, content, etc. to try and rank for that phrase? (so home page would be optimized for Town A, B and C KW's + Portland_KW). Re-target home page for "Portland_KW" only, and better optimize sub-pages for town A, B and C? Leave home page as is, and create a "Portland KW" sub-page? (client's original idea). Thanks in advance for your insights!
On-Page Optimization | | 540SEO0