Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

i think a .htaccess problem

Status
Not open for further replies.

edelwater

Programmer
Jun 29, 2000
203
EU
I'm not quite sure if this is a php, .htaccess or wordpress problem.

i have domain "cogmios.nl" installed as wordpress domain.

Now i added "leau.net" to also point to this subdir (dns changed)

However, "leau.net" indeed shows the same wordpress screen but e.g. "leau.net/whateveritype" gives me an empty screen.

This is a problem since i want to refer all the old visitors of "leau.net" to at least a search screen so they can find the new corresponding posts.

I really wonder what this is, i would at least expect a 404 screen. Is there something in my .htaccess file i could do to it? Is it something in WordPress?

Any help would be appreciated very very much.









--
 
i suspect you are using the mod_rewrite function in wordpress and it does not know how to deal with the result. try turning off the mod_rewrite and see what happens.
 
Yes, you are right, thanks, when i

Code:
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteRule . /index.php [L]

it gives me an error that it cant find the page.

The strange thing however... when i just turn it on: the first time i enter "leau.net/whatever" it gives me an empty screen, the second time however by just pressing F5 it shows me the wordpress 404 page. Strange.

So then it stroke me and i turned OFF the wp-cache and now it seems to work.

So the problem is somehow the wp-cache. I have to dive further into that one.

Thanks for the lead!


--
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top