Đang Thực Hiện

134659 mod_rewrite issue

Switching a website from old server to a new server, and the way the pages were written was all paths, images and includes, were in the following format:

/images/[url removed, login to view]

and includes

include '/path/[url removed, login to view]'

They worked on the old server. Now on the new one, it's basicly saying that page or image is in the another directory, essentially the same as ../[url removed, login to view]

How can I make the new server parse these the same way, that way I don't have to go through every page and link and change them...

Should be a simple piece of code to put into the .htaccess file right?

Thanks!

Kỹ năng: Bất kì công việc gì, PHP, Quản trị hệ thống

Xem thêm: rewrite from image, htaccess mod_rewrite, server issue, parse jpg, image parse, parse link, link rewrite, rewrite directory, rewrite admin htaccess, mod_rewrite htaccess, htaccess rewrite, htaccess mod rewrite admin, htaccess mod rewrite, parse directory php, mod rewrite htaccess, htaccess rewrite, php parse directory, simple htaccess, htaccess mod rewrite include file, rewrite htaccess jpg, rewrite php link directory, htaccess rewrite images, php include file issue, mod rewrite php link directory, rewrite mod php htaccess

Về Bên Thuê:
( 15 nhận xét )

Mã Dự Án: #1880831