Hot answers tagged

13

Here are the steps required to move a joomla site from subfolder to the root: Use a FTP client and connect to your hosting account via FTP, or use the File Manager that should be available in the Control Panel of your hosting account. Navigate to the folder where Joomla resides (root/joomla). Locate configuration.php file, download and open it with a text ...


6

With the below .htaccess rule you can redirect all pages from a url with the pattern of: https://www.portal-gestao.com/whatever/whatever/9999-title-of-the-page to a new url of : https://www.portal-gestao.com/item/9999-title-of-the-page htaccess: RewriteEngine On RewriteCond %{HTTP_HOST} ^www.portal-gestao.com RewriteRule ^.*/.*/(.*)$ https://www....


5

If you have shell access to your host, it also makes sense to store the Joomla install outside of the webroot and symlink it in. This way, you can source control the installation or easily switch between multiple staging/production versions. Using this with subdomains also makes the testing process for new versions much easier.


5

Just an additional bit here. Most people will not need to do this as they don't ever touch the robots.txt file, however if you have something like the following: User-agent: * Disallow: /joomla/administrator/ Disallow: /joomla/bin/ Disallow: /joomla/cache/ Disallow: /joomla/cli/ Disallow: /joomla/components/ Disallow: /joomla/includes/ Disallow: /joomla/...


5

There are various techniques you can do to redirect an old domain to a new one and many depend on your server and site configuration. If you are hosting on Apache server, then one of the most common is to redirect all pages urls of the old domain to the corresponding pages of the new domain - using Apache's mod_rewrite - assuming you have kept the same ...


5

Do you reach directly to the updated css file through your browser and you see the old css? Or you just don't see the changes taking effect on your site? Some suggestions for both scenarios: A. Do you reach directly to the updated css file through your browser and you see the old css? Make sure the server/location you are FTP uploading, is the ...


3

I got a similar issue. Maybe my solution will help you. I was not able to edit a second time my article and I was also receiving this message : You are not permitted to use that link to directly access that page (#article-id). The error was not appearing when my browser extension « Cache Killer » was activated and the same thing was going on with the mode ...


3

Best would be to change the assigned root folder of your site on your web hosting seetings. I do this so I can build new versions of my site and save/keep the old versions alive; all I have to do is change my domain's "Document Root" to the new folder every time I release a new version. Avoid redirecting your site, Google's search algorythm doesn't like it.


3

You can use JOOMSEF component, which is for SEO purpose and more of this extension is free. Also in that component you have option to remove category and menu names from url and also you can customize the url according to you.


3

What you could do is use Joomla's Redirect Manager to redirect the old URL to the new one. In the Joomla backend, go to: Components >> Redirect >> New In the Source URL field, enter the old URL and in the Destination URL field, enter the new URL


3

Robots.txt and Google I am also negatively positioned against the robots.txt file. I don't like it at all to announce publicly the directory tree of my Joomla sites. Considering the recent changes in Google's algorithms, that are now looking for Images, CSS and JS files, in order to fully fetch and render a webpage, I am looking for ways to allow the ...


3

You can find a solution here: http://forums.ukwebmasterworld.com/threads/hide-your-robots-txt-from-visitors-and-show-it-only-for-validated-robots.7256/ This will block robots.txt from everyone except googlebot, Yahoo Slurp and msnbot. But again, Why would you want to hide it? It is perfectly OK to keep robots.txt accessible. Pretty much every website ...


3

You can't, robots.txt is meant to be publicly accessible. If you want to hide content on your site you shouldn't try to do it with robots.txt, simply password protect any sensitive directories using .htaccess or similar.


3

You are commenting out the RewriteRule to the examplesite.org.au site, but before the rewriteRule you have the RewriteCond for the Server_Port, which lefts orphaned and looks to be the issue here. So, comment out also the line above. Actually, I would suggest you to use a fresh htaccess file now. You can download a fresh Joomla package that contains the ...


3

You could create your own library with the functionality you want to re-use in all your extensions and load it each time with JLoader. The $_SERVER is a SUPERGLOBAL variable and can be accessed anytime from everywhere. Since you are working with Joomla, you may want to use what Joomla has to offer, so have a look at JURI Job could be done with a plugin as ...


3

I had this error after a reboot on one site of 12 on my server. All my sites are Joomla. We recently upgraded to php7.1 I tried everything then found the fix. The fix was to comment out the suPHP line in .htaccess. Remember to show hidden files to find the .htaccess in the root. DirectoryIndex index.php #<IfModule mod_suphp.c> # suPHP_ConfigPath /...


2

The Joomla .htaccess includes many rules to rewrite your urls and secure your website. You could copy them to your vhost configuration, but, frankly, I would'nt recommend it: for starters, it seems like the kind of job giving you no benefit at all. Then some rules may change when you perform an update, and then you'll have to edit your vhost config again.


2

The problem was in the SSLCipherSuite, to resolve the poodle bug, as suggested, I had to disable the SSL protocol and modify the SSLCipherSuite. The used SSLCipherSuite miss the Windows mobile and explorer 11 code, so i resolved using an updated SSLCipherSuite. In the linked article mozilla suggest 3 different SSLCipherSuite based on browsers legacy ...


2

You can't use composer here. But you should be able to use a git repo and pull the latest changes from there. However it doesn't take care of the SQL. So if you're installing things in your dev enviroment, it will not be installed on the production server. If it's about modifying files, like template adjustements or extension development, then it will work ...


2

There are various methods that can be used. Method 1: You can download and installing a caching Plugin. Personally, I like to use JCH Optimize. However, be very careful when using minimizing and combining JS files. You may find some errors in the console and have to excludes a file or 2 from the plugin. Method 2: There are 2 different types of caching ...


2

If you want to redirect your localhost to some subfolder instead of root folder like /var/www/subfolder Then you need to do this configuration at server. open the file at following path: /etc/apache2/sites-enabled/000-default.conf then you need to change the root path of the folder at follows: ServerAdmin webmaster@localhost DocumentRoot /var/www/...


2

I wonder why no one suggested using Akeeba Backup component and Akeeba Kickstart script. For some users, it might be easier way of doing the same as FFrewin suggested. Akeeba does all that automatically. Both of them are free (in basic version, you don't need pro). You can download them directly on AkeebaBackup.com/download. The required steps are: ...


2

You are starting from 20 independent Cpanels. Then, you are trying to connect to the same database and load a site for each Cpanel from a single folder. Mainly, you are going against Cpanel design principles of hosting. The article Multiple Domains and Web Sites in a single Joomla! installation assumes multiple domains in the same Cpanel. Plus, you only ...


2

You can try edit your index.php and add In first line after < php? tag this code: header("Location: http://newsite.com"); die(); I holpe this helps.


2

A blank screen in Joomla mostly signifies a php error. Check in your configuration.php file the level of error reporting and set to maximum or development. You should then be able to see any errors that are occurring after the update.


2

It well could be a cache problem, Joomla by default does not cache pages when logged in precisely because of such issues. Mainly adding an answer to note that Apache can be set to cache only specific extensions, so it should be set to cache only extensions for images, scripts, and fonts. This will still occasionally cause issues and will not add performance ...


2

You must customize this part or remove it at all: #index.php to root RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /([^/]+/)*index\.(html?|php)\ HTTP/ RewriteCond %{REQUEST_URI} !^/administrator/ RewriteRule (([^/]+/)*)index\.(html?|php)$ http://www.nozadam.com/$1 [R=301,L] For example it can be like this: #index.php to root RewriteCond %{THE_REQUEST} ^[A-Z]{3,...


2

What is .htaccess? .htaccess is a configuration file for use on web servers running the Apache Web Server software. When a .htaccess file is placed in a directory which is in turn 'loaded via the Apache Web Server', then the .htaccess file is detected and executed by the Apache Web Server software. These .htaccess files can be used to alter the ...


2

Most likely your hosting company made some modifications on their server or moved you to another server that doesn't have the MySQLi adapter. You can either edit the configuration.php and change $dbtype to mysql (from mysqli), and see if that works, or, ideally, contact your host and tell them about this problem (they should be able to fix it since it is on ...


2

With the limited info you provided there are only 2 things that are most likely the reason. your server does not have enough resources and may need an upgrade. you have a php injected script that is constantly running a script that uses up the resources. I would look at your resources, via control panel server side and see if indeed there are constant php ...


Only top voted, non community-wiki answers of a minimum length are eligible