简体   繁体   中英

Joomla BaseURL in Article

got a question does anyone know a Joomla Plugin to get my site's BaseURL in Article Manager ? since I'm working in http://localhost/project , I need to avoid some file directory conflict when uploading the site to the hosting

thanks

I am not aware of any such plugins: but I don't think you need it.

Joomla uses relative paths so if just insert relative paths or even better use non-sef paths (ie index.php?option=com_content etc.) in your article text links, it will work automatically.

However, if you have already used hardcoded paths, or you chose to use "external url" menu items with the full path (ie starting with a single "/") then just run a find/replace on your sql dump before reimporting, it only takes a minute and it will catch all occurrences.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM