Đ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 image, server issue, link rewrite, rewrite directory, rewrite admin htaccess, htaccess mod rewrite admin, htaccess mod rewrite, mod rewrite htaccess, htaccess rewrite, simple htaccess, rewrite htaccess jpg, rewrite php link directory, htaccess rewrite images, php include file issue, rewrite mod php htaccess, php image switching, issue don, htaccess rewrite jpg, image paths, change jpg format, htaccess mod rewrite simple, htaccess image, php mod rewrite htaccess

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

Mã Dự Án: #1880831