Jump to content

Ignore Sub-Domains ?


GravityFX

Recommended Posts

Hello, I am having trouble using my sub-domains of directories. Is there a way to ignore specific sub-domains or directories ? This is my .htaccess file:

 

IndexIgnore *

RewriteEngine on

# Prevent viewing of .htaccess file
<Files .htaccess>
  order allow,deny
  deny from all
</Files>

# Short URLs   
  RewriteRule ^([^\.]+)$ index.php?p=$1 [L]

 

I need to fix "Short URLs" part ;-) I've created sub-domain http://blog.gravityfx.org/ but when I logging to my blog I get to http://blog.gravityfx.org/wp-admin/ instead of http://blog.gravityfx.org/wp-admin/index.php Also when I use sub-domain like so: http://gravityfx.org/blog/ it does not work, it says error 404 - not found. Now I've created sub-domain > http://wiki.gravityfx.org/ and it says Not Found. Please help. Thanks!

Link to comment
https://forums.phpfreaks.com/topic/65194-ignore-sub-domains/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.