I just installed Pimped-fusion on a subdomain on mywebspace into a main folder.
Example:
http://subdomain.domain.com/CMS/
I changed the .htaccess file at the following lines.
####################
# Rewrite Engine
#
RewriteEngine on
####################
# Rewrite-Base
# If you are running this script in your root-folder:
# RewriteBase /
# If you are NOT running this script in your root-folder, but in a sub folder:
# RewriteBase /your_folder/
#
RewriteBase /CMS/
Every page works just fine.
The CEO rewrite is working perfectly on news , articles, members, profiles , not a single problem with these but, when i try to browse the forums , the contend is loading perfectly it just that their is not a single colour to find.
It seems the theme design is not loading at all.
Ive tried several themes but, its allways the same problem that i'm facing at.
these are the settings ive placed into the site links option.
####################
# Rewrite Engine
#
RewriteEngine on
####################
# Rewrite-Base
# If you are running this script in your root-folder:
# RewriteBase /
# If you are NOT running this script in your root-folder, but in a sub folder:
# RewriteBase /your_folder/
#
RewriteBase /CMS
deleted a / here
Went to the site links opention and changed the forum link to something else like.
Link Name: Forum
Link URL: forum/index.php
Link SEO URL: forum instead of forum.html
Now when i browse to the forums everything is fine, the theme is loading fine atm but when i klik a topic link i get a 404 message
Link Name: Forum
Link URL: forum/index.php
Link SEO URL: forum instead of forum.html
Now when i browse to the forums everything is fine, the theme is loading fine atm but when i klik a topic link i get a 404 message
That's because the browser thinks that the "/forum" as you changed it, is a folder and when you link to a thread will link as "/forum/thread-25" and not as "/forum-thread-25". Same problem with the themes. I think it can be temporarily be fixed by changing the link to styles.css in themes/templates/header.php to absolute address: http://productions.sambalii.be/CMS/themes/design_01/styles.css.
Well i dont think changing the link to an absolute link in header.php will fix the problem.
It will mess up my whole other section of the site.
It is a problem with the CEO links i'm gonna search some more now on where the problem is, i hope ill find it, iff not , ill maybe have to change back to normal fusion
One other thing, when i browse to the forums the design isnt loading, what i would like to add to it is what i just noticed is.
When i klik on a topic post or site menu in to user info panel or the navigation menu WHEN i'm at the forum section. the links arnt propperly.
I can see that when hovering over a link , it sais http://subdir.domain.com/link-name.html instead off http://subdir.domain.com/CMS/link-name.html and so on :s
Thanks for ur time.
Best regards
Edit:
Well i got it fixed now, i just took my whole website out off /CSM folder and placed it into the subdomain folder only.
Its working fine now.
It seems that you cant run it in a subdomain folder AND in an other folder.
Adding absolute address for styles.css may fix the theme issues not the page display under forum.
However i've been testing with PiF and by default, not having it installed in the root folder on your domain/subdomain will give a 404 error. That is because Php-Fusion was written so every time you acces form/ (and from there another link) to escape one folder.
When SEO was implemented in PiF they did'nt used that forum/index.php anymore (wich is a folder)... instead they changed it to just forum.html, one folder is missing in that link yet the CMS still escapes one folder wich goes to root folder. If the url would have been rewritten like forum/index.html or forum/forum.html there would not have been any problem.
To fix that you can install PiF directly in root folder. To it make work with folders will require some core modifications i think.