Here is a simple example.
fix se/wordpress/.htaccess
<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine On
#for wordpress
RewriteCond %{REQUEST_URI} ^/wordpress
RewriteRule ^.*$ - [NC,L]
</IfModule>
Is this the most effective? (I wonder if there is a better way.)
I want to install wordpress or phpmyadmin, nodebb, gohugo, static html etc in se sub-directory. (Just for example)
I am using openlitespeed web server and it gives me great satisfaction. se and htaccess work perfectly.
Happy SE
We had a request for this before but when we did a possible improvement, it broke the plugin manager on some server configurations. So, the fix is not as easy as it seems. It may require tweaking per server config. Test everything after making changes.
You need to insert the WordPress Rewrite rule before the Social Engine rewrite rules. You can also adapt the wordpress rewrite rules by adding the other ones below a RewriteCond %{REQUEST_URI} ^/wordpress rule.
Thanks for all the answers.
First of all, I want to apply phpmyadmin and then apply wordpress or static files.
I am thinking of solving the lack of third-party plugins with wordpress or static files. (I'm worried about the theme, but I'm also considering an independent theme shape)
FAQ, Document Guide, Terms, Privacy, Company Blog etc
If wordpress is too heavy, we will try to fix it with gohugo. Because it's simple.
I want to make the SE light and slim.(I'm thinking of gohugo now. It was very, very comfortable to manage.)
Hugo is good. Thinking of using it for a project too, static web. SEPHP will improve piece by piece too. Our blog will have features like WP as soon as we get to that step after v6.
If thinking of Hugo you should also look at grav as they are similar in what they do.
Donna said:
Hugo is good. Thinking of using it for a project too, static web. SEPHP will improve piece by piece too. Our blog will have features like WP as soon as we get to that step after v6.
I don't like the SE that competes with WP. On the previous site, members compared to WP. I couldn't fix it.
Add Facebook notes, stories and pages.
Now I am trying to remove the blog plugin.
Lee KiWon said:
Donna said:
Hugo is good. Thinking of using it for a project too, static web. SEPHP will improve piece by piece too. Our blog will have features like WP as soon as we get to that step after v6.
I don't like the SE that competes with WP. On the previous site, members compared to WP. I couldn't fix it.
Add Facebook notes, stories and pages.Now I am trying to remove the blog plugin.
It isn't trying to compete but our blog is basic atm. We need to add some normal blog features. Not heavy stuff, just some better features to improve it.
Donna said:
Lee KiWon said:
Donna said:
Hugo is good. Thinking of using it for a project too, static web. SEPHP will improve piece by piece too. Our blog will have features like WP as soon as we get to that step after v6.
I don't like the SE that competes with WP. On the previous site, members compared to WP. I couldn't fix it.
Add Facebook notes, stories and pages.Now I am trying to remove the blog plugin.
It isn't trying to compete but our blog is basic atm. We need to add some normal blog features. Not heavy stuff, just some better features to improve it.
This is because social media and blogs have different characteristics. The content lifespan of SNS is very short compared to blogs. Rather, the notes and stories provided by Facebook can take the place of your blog. (Each point of view is different, but ..)
Regarding you first post:
If you simply want to open up a folder so that you can access it in the normal way (and not have SocialEngine intercept and return a 404 error), you can simply use a RewriteRule without any RewriteConditions.
E.g.
RewriteRule "^/folder/(.+)" - [NC,L]
abuk said:
Regarding you first post:
If you simply want to open up a folder so that you can access it in the normal way (and not have SocialEngine intercept and return a 404 error), you can simply use a RewriteRule without any RewriteConditions.
E.g.
RewriteRule "^/folder/(.+)" - [NC,L]
I tested it with phpmyadmin. I tested it with phpmyadmin.
But it didn't work.
I am not logged in.
se/phpmyadmin/.htaccess
<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine On
# for phpmyadmin
RewriteRule "^/phpmyadmin/(.+)" - [NC,L]
#for PHPMYADMIN
# RewriteCond %{REQUEST_URI} ^/phpmyadmin
# RewriteRule ^.*$ - [NC,L]
</IfModule>
As my first reply said, the rewrite rule needs to go above the social engine rewrite rules.
I don't recommend using .htaccess for rewrite rules.
abuk said:
As my first reply said, the rewrite rule needs to go above the social engine rewrite rules.
I don't recommend using .htaccess for rewrite rules.
I will try again. haha.
Solved it. haha
In OLS, I added phpmyadmin to the context and put a rewrite rule.
I forgot for a moment that .htaccess in ols has to be handled with care.
It works perfectly fine.
This time I noticed that the se/.htaccess modification does not affect OLS.