Join Date: Feb 2007
.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.
Join Date: Feb 2003
Location: In Your Machine
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
RewriteEngine on RewriteBase blahblah.com/modules/blah/blahblah/ RewriteRule blahblah.com/(.*) cgi-bin/blahblah.com$1
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