Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bug or just need a new mod_rewrite?
#1
If you have a page setup it is accessible by more than one way.

IE:

http://domain.com/page1/

http://domain.com/admin/page1/

http://domain.com/asdf/fewi438923/dnwidK.../FS/page1/

All those display that same page.
Clients always want to be able to change the content of their pages, but they are unwilling to do so.

Have you ever coded in your underwear before?
Reply
#2
I would like to be able to prevent this via mod_rewrite, but I'm not sure how.

I knew about this, but I would have had to check each page id request against what it's parent tag had in it... I deemed it not important for the first (1.0) release, but maybe we should think about this again...

Duplicate content should not be an issue just as long as you don't link to it different ways, but then again, you cant always control what *other* people link to.
- Chris
Thanks for using GetSimple! - Download

Please do not email me directly for help regarding GetSimple. Please post all your questions/problems in the forum!
Reply
#3
Really, with how small the sites are that Get-Simple powers, you could just create a new mod_rewrite rule for each page when created. It would use regular expression to guarantee that only the specific folder is open per that particular page. I doubt it would slow anything down even with 100 pages.
Clients always want to be able to change the content of their pages, but they are unwilling to do so.

Have you ever coded in your underwear before?
Reply




Users browsing this thread: 1 Guest(s)