This is a discussion on "Rewriterule Dupe content problem" within the Search Engine Optimization (SEO) section. This forum, and the thread "Rewriterule Dupe content problem are both part of the Promote Your Website category.
|
|
|
|
|
![]() |
||
Rewriterule Dupe content problem
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
||||
|
||||
|
Rewriterule Dupe content problem
In Rob's warning thread:
http://www.webforumz.com/webforumz-c...your-sites.htm It tells us that the rewrite rules can be exploited. But how can you counter this? my rule is something like this:
7-contact-lenses 7-Contacts 7-lallalalla How can I stop this so that only the first will work? Via PHP somehow? Help very much appreciated.
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
Last edited by alexgeek; Oct 22nd, 2007 at 07:07. |
|
|
|
#2
|
|||
|
|||
|
Re: Rewriterule Dupe content problem
You could use PHP or just change the rule like so:
Last Blog Entry: 10 Reasons Why My Laptop Is Better Than Your Girlfriend (Dec 15th, 2007)
|
|
#3
|
||||
|
||||
|
Re: Rewriterule Dupe content problem
Jan, I don't see what's different in that rule or how it will stop duplicate content.
I think I should of been more clear, I only want one string to work per string like so: 1-welcome 2-web-development etc. But then I want the following to not work (or redirect to the real one (1-welcome)) 1-web-design Otherwise, for 1-welcome and 1-web-design, the same page will be brought up and indexed by google twice meaning I get dupe content
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
Last edited by alexgeek; Oct 22nd, 2007 at 07:12. |
|
#4
|
|||
|
|||
|
Re: Rewriterule Dupe content problem
HE? I don't quite understand what you want....
Last Blog Entry: 10 Reasons Why My Laptop Is Better Than Your Girlfriend (Dec 15th, 2007)
|
|
#5
|
||||
|
||||
|
Re: Rewriterule Dupe content problem
Did you check the link in my first post?
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
#6
|
|||
|
|||
|
Re: Rewriterule Dupe content problem
yes. what does the link have to do with your rewrite rule?
Last Blog Entry: 10 Reasons Why My Laptop Is Better Than Your Girlfriend (Dec 15th, 2007)
|
|
#7
|
||||
|
||||
|
Re: Rewriterule Dupe content problem
Because if I have:
/blog/7-welcome The following will also work: /blog/7-duplicate /blog/7-anything-can-go-here So if people were to link to my blog via those links, google would index them as duplicate content. Hope that makes sense
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
#8
|
|||
|
|||
|
Re: Rewriterule Dupe content problem
Well, the answer to your question is to be found in Rob's post - make your pages "self-aware of their own URL's". I would use PHP to catch this.
Last Blog Entry: 10 Reasons Why My Laptop Is Better Than Your Girlfriend (Dec 15th, 2007)
|
|
#9
|
||||
|
||||
|
Re: Rewriterule Dupe content problem
How can you check what is used to access the page then?
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
#10
|
|||
|
|||
|
Re: Rewriterule Dupe content problem
$_SERVER['QUERY_STRING'] or $_SERVER['REQUEST_URI'].
not quite sure which. check this out...
Last Blog Entry: 10 Reasons Why My Laptop Is Better Than Your Girlfriend (Dec 15th, 2007)
|
|
#11
|
||||
|
||||
|
Re: Rewriterule Dupe content problem
Thanks will try now
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
#12
|
||||
|
||||
|
Re: Rewriterule Dupe content problem
Incase anyone wants to do the same, it's
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 100% height on content problem | jasonmillward | Web Page Design | 1 | Apr 9th, 2008 14:08 |
| centering my content in IE (yet another problem) | bengtec | Web Page Design | 7 | Sep 26th, 2007 23:24 |
| Center content problem | Aaron1988 | Web Page Design | 1 | Mar 20th, 2007 20:03 |
| IE active content flash validation problem | edd_jedi | Flash & Multimedia Forum | 5 | Jul 20th, 2006 23:01 |