Im trying to install a script "moodle" in a subdirectory of my wordpress website but if I keep it in first level folder i get the wordpress 404 page not available or if I go deeper "2 level folders" it only show me my blog post!
however the url is changing to moodle/install.php !
How can I tell wordpress to ignore that specific subdirectory and everything inside it? i did search and tried some of the .htaccess hits but non actually worked!
Related
I have ci installed in root and wordpress inside wordpress directory.
I already allowed wordpress to use root by setting site url and main .htaccess to rewrite wordpress directory, but because ci is inside root i have url conflict between ci and wordpress..
You know that ci using pretty links, so when i try to run this for example:
example.com/ci_class/ci_function
It's redirects me to wordpress template with message
Not Found
This happens probably because i included wordpress wp-load.php inside index.php of codeignitier...
What i can to do?
I want to use wordpress functions inside ci, but i also want that ci url works fine...
this is my problem with laravel & WordPress:
i need to put a blog inside laravel installation.
i want to use WordPress but i can't figure it out.
i put the WP files inside public/blog/ but i can't install it.
the redirect is the error part.
i need to say that to Apache:
if( $url = public/blog/* ){
ignore normal laravel routing system & redirect to WordPress inside (public/blog/*)
}
To keep your laravel .htaccess clean, just copy the .htaccess from any active wordpress project using clean urls (or look in wordpress doc) and copy it to your clean wordpress folder in public/bloc (it's nearly the same as for the laravel).
Without the .htaccess in your blog folder the laravel "public/.htaccess" redirect all not specific and existing files url to "public/index.php"
to solve this I just put the laravel folder next to the wpBlog folder.
& used namespaces to redirect the user to each based on the used url.
SO:-
blog.website.com : will redirect to the wp blog
site.website.com : will redirect to the laravel website
Hey guys I am trying to figure out where I can edit my links to pages for Joomla. I recently just switched server over and transfered site but I am trying to get rid of this link:
thesite.com/index.php/home/2013-08-03-07-53-09/home-page-4-one-page
So that now it is just:
thesite.com/
Suggestions, thoughts?
UPDATED:
More so the question I am asking, the home-page-4-one-page file that is being grabbed here I want to make that so its located at the root and not all the way /index.php/home/2013-08-03-07-53-09/home-page-4-one-page
For making this specific page the default (home page) of your website, you need to set this menu item as the default menu item of the site.
To get rid of the index.php, you need to enable URL rewriting in global configuration and rename the htaccess.txt file in your joomla root folder to .htaccess and un-comment the Rewrite Base rule.
Go to Joomla administrator->Menu manager.
Edit Home link and update it's alias.
It will resolve the issue.
I have a wordpress installed to a subfolder in the root of my site. So if my site is "site.com", the wordpress is in "site.com/blog".
I want to display some posts from wordpress to pages outside of the blog directory. I have read some articles telling that to use wordpress outside it's folder i just have to include or require the "wp-load.php" from wordpress to the page. Now the problem is I have tried using this method, but when I view the page in the browser, it just redirects to "wp-admin/install.php" which doesn't exists because i am at the root directory.
Change your site url from
http://www.site.com/blog/
to
http://www.site.com/
Read http://codex.wordpress.org/Changing_The_Site_URL
In database it would be found in wp_options table
I have made a website (WP based) and put every stuff inside the /site folder.
I did that, thinking of creating "custom" systems, and putting each one inside a folder, so for example: /promo would go to something else than the website...
But, I have tried with both .htaccess redirect and PHP location redirect, and when I try to "share" the website, without it's /site folder included, Facebook doesen't detect's the site meta...
Also, is it a problem for google, to use redirect's when accessing the website without the /site WP home folder? I mean, a guy comming from a www.onesite.com would have it's "referer" header as onesite, or mysite?
Thanks
I feel like you're creating your own problems. Just put WordPress in document root and don't bother with rewriting to a subdirectory. WordPress won't delete any custom files or folders when updating.
If you have some custom part that you want to reach through http://www.example.com/promo. Put it in the promo folder under the document root.
If want to reach the custom part through http://promo.example.com, just create new virtual host.