Computer Help Forum

Go Back   vBulletin and Computer Help Forum > Website Support and Management > Website Development

Website Development Web development programming languanges, HTML, PHP, MySQL and design support.

Reply
 
Thread Tools Display Modes
Old 03-06-2007   #1
Immortal_Shades
Junior Member
 
Join Date: Feb 2007
Posts: 25
.htaccess help please

I have a buddy of mine who owns www.micmacrecords.com, now the site is a xoops setup and in the past I removed the horrible xoops linking: (Example: www.blahblah.com/modules/ etc etc.) by adding a .htacess file.

Once I did that the site would just show the .com name in the url and no xoops module names afterwards. It was awesome but I screwed up and overwrote that file without saving it and now I cant figure how to do it again.

Anyone have any suggestions?

The site originally was set to www.micmacrecords.com and an intro would play, well the intro was removed so I need to .htaccess it to go from that front page to his domain folder on his .com.

I tried a redirect and it worked but it still shows the added xoops garbage after the .com in the browser window url box.

So if it shows www.blahblah.com/modules/gallery/
I want it to show www.blahblah.com/ and hide all else.
Immortal_Shades is offline   Reply With Quote
Old 03-06-2007   #2
Zero Tolerance
Senior Member
 
Zero Tolerance's Avatar
 
Join Date: Feb 2003
Location: In Your Machine
Posts: 1,754
You will want to use the rewrite rule in your .htaccess file to do this.

You can try this and see if it is what you want

Code:
RewriteEngine on
RewriteBase blahblah.com/modules/blah/blahblah/

RewriteRule blahblah.com/(.*) cgi-bin/blahblah.com$1
__________________
good day,
Zero Tolerance
aka "SpeedDemon" & "theMadHacker"

As I was walking up the stairs
I met a man who wasnt there
He wasnt there again today
I wish...I wish he'd go away!

ATV Forums ~ 250R ~ Banshee ~ Utility Class ~ Sport Quads
Free Internet Radio ~ Independent Music & Artists ~ Become an online radio Dj
Zero Tolerance is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 10:20 AM.



vBulletin 3.8.7 Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright vB and Computer Help Forum

EZ software products copyright Greg Lynch 2006-2013