SEO 1 Links

  SEO Blog
  SEO Forum

  Active Topics
  Register
  Memberlist
  FAQ
  Search




SEO Forums

  SEO Forum
  SEM Forum

  Directories
  Link Networks
  Mod Rewrite
  Content
  Revenue Networks

  Marketing
  Social Bookmarking
  Webmastering

  Google
  Yahoo
  MSN

  Search
  Engines

  Link Exchange



Welcome

Time Now:
Wed Nov 22, 2017 11:44 am

All times are GMT

Log in

Username:

Password:

 





 





Who is Online



Most users ever online in a day was 2917 on Thu Oct 25, 2007 4:43 pm
 



Member Websites

Free Sitewide Links
For Top Members





SEO 1 Forums > Mod Rewrite >

Subdomains and MOD



Author Thread
hoptoo
Senior Member


Joined: 16 Mar 2005
Good Posts: 203
Location: Hoptoo's Doppelganger
Subdomains and MOD  Reply with quote  

Ok im frustrated as MOD rewrite tends to make people

Trying to rewrite subdomains and having a B*!&@ of a time, I have left it with a workaround for now.


Currently the MOD just rewrites my PHP to appear as HTML, based on personal preference only.

as such>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

RewriteRule ^huntersville-lake-norman/(.*).html$ index.php [L,NC]
RewriteRule ^featured/listing-(.*).html$ feature.php?listing=$1 [L,NC]
RewriteRule ^featured/home-(.*).html$ feature.php?prop_number=$1 [L,NC]
RewriteRule ^index.html$ index.php [L,NC]
RewriteRule ^(.*)/art(.*)-(.*)-(.*)-(.*)-(.*).html$ $1/index.php?art=$2&parta=$3&partb=$4&partc=$5&partd=$6 [L,NC]

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Nothing fancy......


Trying to rewrite as follows.

subdomain.domain.com/my-keyword-page.html

TO

domain.com/folder/index.php?sub=$subdomain&one=$my&two=$keyword&three=$phrase


I have seen many complicated appraoches, and none seem right. I dont want to redirect to this folder, since I want the different pages listed under each subdomain seperately.

A wildcard solution would be nice as well, but I have only about 7 subdomains Im trying to work this with for now, so static is fine, and simple is clutch.


Restaurant Reviews
Buy Team Jerseys

Learn SEO today
Post Sun May 15, 2005 12:28 am
 View user's profile Send private message Visit poster's website
Andrew
Senior Member


Joined: 21 Feb 2005
Good Posts: 997
Location: apache/domlogs
 Reply with quote  

That's a tricky one.

From my research it appears that the subdomain part of the problem makes things more complex as an infinate loop must be prevented with the associated rules.

Don't know if this would be of any help (hope you can see it, sometimes WMW locks me out Razz ) ...

http://www.webmasterworld.com/forum92/2207.htm
Post Mon May 16, 2005 5:05 am
 View user's profile Send private message Visit poster's website
hoptoo
Senior Member


Joined: 16 Mar 2005
Good Posts: 203
Location: Hoptoo's Doppelganger
 Reply with quote  

Ditto - Ive stopped at that exact page before trying to answer this one.
Think ill send a quick email to the http://geeksonsteroids.com bunch, she has always been helpful.


Restaurant Reviews
Buy Team Jerseys

Learn SEO today
Post Mon May 16, 2005 4:43 pm
 View user's profile Send private message Visit poster's website
subhajit
Contributing Member


Joined: 08 Feb 2010
Good Posts: 26

 Reply with quote  

its tough to understand once...

Please use your signature
Post Mon Feb 15, 2010 11:34 am
 View user's profile Send private message Send e-mail
offsitenoc
Senior Member


Joined: 20 Jul 2010
Good Posts: 232
Location: USA
 Reply with quote  

yes its working i will use also thanks


Thanks

Education Tips |wedding music band |Music Articles
Post Mon Oct 11, 2010 7:09 am
 View user's profile Send private message
loenmilton
New Member


Joined: 20 Mar 2012
Good Posts: 11

 Reply with quote  

THANKS FOR SHARING INFORMATION FRIEND'S
Post Wed Mar 21, 2012 4:56 am
 View user's profile Send private message
sonu sing
Senior Member


Joined: 19 Jun 2010
Good Posts: 309

 Reply with quote  

Good information.


Thanks for sharing..


Tanisha Systems Review |
Post Fri Jun 08, 2012 12:41 pm
 View user's profile Send private message Visit poster's website

Reply to topic
Jump to:  
Display posts from previous:      






SEO 1 © 2005-2015 - SEO 1 the SEO Forum