GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   wordpress question (https://gfy.com/showthread.php?t=778690)

PornMySex 10-23-2007 03:28 AM

wordpress question
 
hello,

i have a domain with the page porn.html in pr3. i would like to setup wordpress on this domain and have porn.html as main page blog.

how can i do this?

thank you.

After Shock Media 10-23-2007 03:34 AM

um im a server moron so alas here is how I do it.
I put in ticket with my server company on one of my managed boxes.
Then walla it is done.

However there is some apache code or some shit that can make any given page your main page. Like I said I am tech stupid, got that way over the years.

ilbb 10-23-2007 03:34 AM

Quote:

Originally Posted by PornMySex (Post 13274280)
hello,

i have a domain with the page porn.html in pr3. i would like to setup wordpress on this domain and have porn.html as main page blog.

how can i do this?

thank you.

simply install wp and modify their .htaccess

PornMySex 10-23-2007 09:30 AM

i asked my host to modify the htaccess he didnt find any solution.

Bump for an answer.

V_RocKs 10-23-2007 10:13 AM

Code:

RewriteEngine On
RewriteRule ^porn.html$ index.php [L]


rootyb 10-23-2007 10:21 AM

Yeah, just install wordpress to whatever directory porn.html is in (so wordpress' index.php and porn.html are in the same directory, find the .htaccess file in the folder (or make one), and put what v_rocks posted into it.

teg0 10-23-2007 10:52 AM

Quote:

Originally Posted by V_RocKs (Post 13275766)
Code:

RewriteEngine On
RewriteRule ^porn.html$ index.php [L]


That should work for you.

PornMySex 10-23-2007 11:21 AM

I tried it and it didn' work.

I asked my host about it and he told me:

"Host ‎(20:19):
That will do the same thing that we were doing.
You just end up with a broken wordpress blog."

rootyb 10-23-2007 11:38 AM

Oops. You need to escape the period.

Code:

RewriteEngine On
RewriteRule ^porn\.html index.php [L]

works on my WP install, but for some reason adds a trailing slash. *shrug*

Jace 10-23-2007 11:42 AM

Quote:

Originally Posted by PornMySex (Post 13276267)
I tried it and it didn' work.

I asked my host about it and he told me:

"Host ‎(20:19):
That will do the same thing that we were doing.
You just end up with a broken wordpress blog."

your host is an idiot, get a new one fast

PornMySex 10-25-2007 03:02 AM

It seems to work without permalink. But when i put custom permalink, it redirects porn.html to 404 error ( i have no 404.php on my theme ).

That's the problem.

Deej 10-25-2007 03:05 AM

Quote:

Originally Posted by Jace (Post 13276388)
your host is an idiot, get a new one fast

thats what i was thinking :winkwink:

d-null 10-25-2007 03:14 AM

what does the [L] part of the code do?


All times are GMT -7. The time now is 02:57 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123