Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need HELP in moving MASTER AUTOINDEX to subfolder
04-20-2016, 08:53 AM (This post was last modified: 04-20-2016 08:54 AM by phonia.)
Post: #1
Sad Need HELP in moving MASTER AUTOINDEX to subfolder
Dear All Master-land users , admin and mods.

I have installed master autoindex to my server root directory but for some reason i want to move it from root folder to subfolder (data subfolder)

i changed url in inc/setting.php

from

Code:
$set->url = "http://domain.com/"; // site url

to

Code:
$set->url = "http://domain.com/data/"; // site url

also made changes to .htaccess removed /data from it

Code:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^/([0-9]+)/(.*).html$ index.php?dir=$1 [QSA,L]
RewriteRule ^/file/([0-9]+)/(.*).html$ file.php?id=$1 [QSA,L]

</IfModule>
now my url have became

Code:
http://domain.com/data/data/1/folder.html

from

Code:
http://domain.com/data/1/folder.html

but it is still showing page not found , what i am doing wrong or skipping any step?

PLEASE HELP, any little help would be highly appreciated.

Many thanks

I want to redirect my traffic from main page to subfolder without affecting my google ranking
Find all posts by this user
Like Post Quote this message in a reply
08-08-2016, 07:33 PM
Post: #2
RE: Need HELP in moving MASTER AUTOINDEX to subfolder
if move to sub folder

put this to your htaccess
RewriteBase /(your sub folder)
Visit this user's website Find all posts by this user
Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)