Skip to main content
added 19 characters in body
Source Link
KKS
  • 101
  • 3

This linklink is pointing to my home directory. I want my users to see ~/home/prototype.php page when they come to my site. To achieve this, I have set following in my .htaccess file of that directory:

DirectoryIndex /home/prototype.php
# BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

There is a form which they need to fill and submit. The redirection of this form is set to www.imlovingdogs.com/index.php i.e. the main index.php page where wordpress starts loading other required files. But this index.phpwww.imlovingdogs.com/index.php doesn't work! How can I achieve this kind of flow for my users?

This link is pointing to my home directory. I want my users to see ~/home/prototype.php page when they come to my site. To achieve this, I have set following in my .htaccess file of that directory:

DirectoryIndex /home/prototype.php
# BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

There is a form which they need to fill and submit. The redirection of this form is set to www.imlovingdogs.com/index.php i.e. the main index.php page where wordpress starts loading other required files. But this index.php doesn't work! How can I achieve this kind of flow for my users?

This link is pointing to my home directory. I want my users to see ~/home/prototype.php page when they come to my site. To achieve this, I have set following in my .htaccess file of that directory:

DirectoryIndex /home/prototype.php
# BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

There is a form which they need to fill and submit. The redirection of this form is set to www.imlovingdogs.com/index.php i.e. the main index.php page where wordpress starts loading other required files. But this www.imlovingdogs.com/index.php doesn't work! How can I achieve this kind of flow for my users?

edited tags; edited title
Link
fuxia
  • 107.1k
  • 38
  • 255
  • 459

Not able to solve redirection from one page to another in wordpress Use two different index pages

Source Link
KKS
  • 101
  • 3

Not able to solve redirection from one page to another in wordpress

This link is pointing to my home directory. I want my users to see ~/home/prototype.php page when they come to my site. To achieve this, I have set following in my .htaccess file of that directory:

DirectoryIndex /home/prototype.php
# BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

There is a form which they need to fill and submit. The redirection of this form is set to www.imlovingdogs.com/index.php i.e. the main index.php page where wordpress starts loading other required files. But this index.php doesn't work! How can I achieve this kind of flow for my users?