php - How to properly redirect all files inside directory with .htaccess? -
i have 2 questions.
how redirect
domain.com/ipc/domain.com/category/indexpage/? also, happenshttporhttpsversion ,wwwornon wwwversion? redirected without problem?let's want redirect
domain.com/ipc/pagedomain.com/category/indexpage/page? mean webpages inside directory redirected properly? possible.htaccessredirection?
thanks.
you can use mod_alias simple redirect inside .htaccess file.
redirectmatch 301 ^/ipc/(.*)$ /category/indexpage/$1 also has no baring on whether called http(s) or www/non www. handles redirect regardless.
Comments
Post a Comment