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
-
Want to remove google font
hi this is my site https://alcouponest.com/
On-Page Optimization | | Moshako
and i want to remove google fonts and use system fonts
what is the best plugin to do that
thx0 -
Is it important to have the brand name in all page title?
Hi Moz community, May be this is an obvious question but as i am not sure about the answer.... I prefer to ask you! If yes, is "keywords" - "BRAND NAME " the good option? If not, is there any rule? Thanks a lot, Amaury
On-Page Optimization | | adbds19730 -
Where to position a new page?
Hi there 🙂
On-Page Optimization | | Enrico_Cassinelli
Our website is about a particular region in Italy, the Langhe area, famous for food and wine (barolo and barbaresco are produced here). We need to rollout a few new pages about cellar/winery tours: one main page with the list of tours, and the various subpages for each tour. We already have a page about travel, and a page about wine (with a sub-page about wineries). The URLs looks like:
langhe.net/travel/
langhe.net/wine/wineries/
(Note: i'm translating from italian here) Now, I'm wondering where is better to position the new pages:
langhe.net/travel/winery-tours/name-of-tour/ or
langhe.net/wine/wineries/tours/name-of-tour/ From an SEO perspective (within my limited experience) the first option has a shorter URL, but the second feels more "natural" to me. What do you think? Thanks 🙂
Best0 -
Should we add our company's name in page title tag or not?
We have been adding our company (Townscript) name in all the page titles. For example, in an event page of Lucknow Conclave: www.townscript.com/lucknowconclave the page title is Lucknow Conclave | Alexis Society | Townscript I read somewhere that it's not necessary to put your company's name in the title tag. Is it right? Please help!
On-Page Optimization | | sanchitmalik0 -
Meta tags - removal
A couple of months ago, I did something that has caused me great angst. My website unique visitors was on a steady growth path for about 3 years. I swapped out my SEO plugin, from all-in-one, to Yoast. I then removed all of my meta tags. My site has about 2000 unique posts. After doing that my unique visitors has been on a steady decline of me loosing traffic at a rate of 5 to 10% of my visits. Any thoughts on the best remediation plan I should use. I put back in the meta tags, but wasn't sure of the SEO plugin switch caused the issue.
On-Page Optimization | | copykatrecipes0 -
Which page to rank for a Keyword? Home Page or Deep Page?
So, we have a situation where there is one particular keyword we want to rank for. We have been up and down over the years, at our best probably position 4-5, and now at 20ish. Thats for our home page of course, which the majority of our linking is probably pointing at. We also have a sub page which is optimised for that particular service. The term is "web design brisbane".
On-Page Optimization | | MauriceKintek
So as you can imagine, Web Design is in itself a service and we offer others. Should we optimise our home page for it and remove the sub page?
Keep the sub page because its one our services and optimise both?
Do some kind of canonical thing?
Change our interlinking? All our competitors home pages seem to be the ones that rank, and it feels and looks better in results if its the home page, but if switching up to our sub page is better im all ears. Also if our sub page is somehow hurting or leaking SEO from the home page, id like to know as well. Would prefer to not have to provide a link, due to competition but if someone wants to know we can always PM.0 -
Too Many On-Page Links
Hi, I did a SEOmoz campaign and got results today, One of the results is Too "Many On-Page Links" when i am drilling down, i see that that's include inside links. for example, i sale food, i have my main department window - inside i have 30 products - each product is linked to a detailed page about the product. so automatically i have 30 links - not including all the others in this page, and i easily get over 100 and even sometimes 200 is this a big issue? does it damages my SEO? If yes, is there a way to write the HTML in a way that internal links like that wont be counted? Thank you SEOWiseUs
On-Page Optimization | | iivgi0 -
What is important for page rank?
I have heard quality is the most important factor for page rank but after the 7 Nov 11 PR update I am no longer a believer. The PR on my home page dropped from 4 to 3 and the rest of my inside pages remained the same even though I have added a significant amount of content since the previous update and kept it fresh. Any thoughts on this most recent PR update?
On-Page Optimization | | casper4340