latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

admin CSS/JS not loading: .htaccess-related?

Home Forums Community Forum admin CSS/JS not loading: .htaccess-related?

This topic contains 3 replies, has 2 voices. Last updated by  Cristián Lávaque 4 years, 2 months ago.

Topic Author Topic
Posted: Thursday Oct 11th, 2012 at 4:06 am #28087
TJ
Username: wellwater

In the wordpress admin area of s2member, the CSS and JS is not being applied. I know why it’s happening. I have the following directory index set:

DirectoryIndex index.html index.php

As you can see index.html loads before index.php. If I deleted the index.html in the folder, s2member loads the .CSS and .JS file fine. The reason I can’t just delete index.html is because the index.html is serving as a coming soon/countdown page to the public, while I finish testing things behind the scenes.

It looks like it’s these two files are what can’t load due to index.php not being first in line:

http://www.example.com/?ws_plugin__s2member_menu_pages_css
http://www.example.com/?ws_plugin__s2member_menu_pages_js

Is there some mod_rewrite code I can place in .htaccess that will route these ?ws_plugin__s2member* paths to the actual index.php in the folder?

Thanks.

List Of Topic Replies

Viewing 3 replies - 1 through 3 (of 3 total)
Author Replies
Author Replies
Posted: Thursday Oct 11th, 2012 at 7:50 am #28109

Hi TJ.

Sorry, I don’t know how to avoid that problem when using index.html. I’d probably try using a “coming soon” plugin instead of index.html. http://wordpress.org/extend/plugins/search.php?q=coming+soon

I hope that helps!

Posted: Thursday Oct 11th, 2012 at 3:59 pm #28161
TJ
Username: wellwater

Hi Cristián. Thanks for the suggestion. That looks like a good way to go.

Posted: Friday Oct 12th, 2012 at 8:14 am #28225

Cool. :)

Viewing 3 replies - 1 through 3 (of 3 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.