-
- 307 Posts
hi,
honestly, the first thing i would do in you case is to create a virtual host in order to work as if it were on a domain name (something like yoursite.dev)
this way your links could be root relative (what they probably are) and work fine.
have swing
réfléchir avant d'agir
-
- 24,544 Posts
Be sure you have this in the <head> section of your templates:
<base href="[(site_url)]" />
Are you attempting to use friendly URLs? Have you changed the ht.access file’s name to .htaccess? Did you edit the RewriteBase line in that file to reflect the name of the folder you have MODx installed into, if it’s not the web root? Are you sure your Apache installation has mod_rewrite enabled?
-
- 5 Posts
Yes i am using friendly URLs. I have codeignitor attached to this modx. If i put friendly URLs on, no page gives output but if i put friendly URLs off the modx pages on which i have called codeignitor views are not giving outputs. Should i need not to use friendly URLs??
Yes i have changed the ht.access file’s name to .htaccess.
Yes i edited the RewriteBase line in that file.
How can i know Apache installation has mod_rewrite enabled?
-
- 5 Posts
Please help me guys.
I need your help
-
- 5 Posts
I already rewritten CI routes. My CI is in snippets folder. I think the problem is with modx.Can you please tell me in steps what should i do, which file i have to edit.
The main thing is that if i do not use friendly URLs, i manage to use some of the pages but as i put friendly user on..i can’t see no pages except home page.