I'm in a situation in which I have WP installed and running on the root.
I have a custom created folder, lets call it "my_folder".
"my_folder" is in the root too, and there are files which are included for my themes functions, and that pages content is displayed on the admin dashboard.
The problem comes when i visit this page, the admin menu is still there, but it is not linking like:
mysite.com/wp-admin/etc..
it links like:
mysite.com/my_folder/etc..
Which is incorrect..
I guess this is because admin menu takes relative url (from the current directory which we are in). But how I can fix that?
Related
I am using a wordpress theme which I have modified a bit, based on the "Revera" Wordpress theme.
I have used it on other sites and it has worded fine. However, I have always installed it in the root of the domain. This time I have installed it on http://www.gas-sense.co.uk/blog
It isn't generating the usual homepage layout ( see http://www.georgeedwards.co )
Just wondering if the themes are typically setup to trigger the homepage layout? and if that is defined in a particular section of the php ?
The root folder is not a problem, you probably didn't set up the site url correctly, read the docs bellow
https://codex.wordpress.org/Changing_The_Site_URL
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 am working on magento and new for magento i use lots of templates now i am working on Magento Classic Theme , i google it alot lots of person says changes possible in base default i will go there and login.phtml file remove code when i refresh on template there is nothing to gone everything will be same
C:\wamp\www\magento\app\design\frontend\base\default\template\customer\form
then i will try to workin on main templates files in main template folder but still there is no change now i am totally confuse how to fix this problem and how to edit the customer login page as per own choice
C:\wamp\www\magento\app\design\frontend\default\f002\template
I need a suggestions and guide from you please help me out in this matter.
Change C:\wamp\www\magento\app\design\frontend\base\default\template\persistent\customer\form\login.phtml
Not the one in app\design\frontend\base\default\template\customer\form
And always look into path by enabling Template Path Hints
Open the admin control panel
Open the system tab and select configuration
Select Main Website or Name of your website (NOT DEFAULT CONFIG) from the Current Configuration Scope drop down
Select Developer on the left sidebar
Open the Debug drop down
Set Template Path Hints To Yes
Click on Save Config to save down your changes
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.