thanks in advance for any and all suggestions.
I am trying to put a temp site built in Adobe Muse in place of the existing Joomla site
and I am wondering if in doing that, I can till link to the original Joomla site.
eg: as an "archive" page perhaps.
If not, I'd still like to be able to do that without damaging the original Joomla site itself.
The original Joomla site doesn't need to be seen (online).
I don't want to work in Joomla, I don't want a Joomla plug-in.
thanks in advance.
If your Adobe Muse website has an index.html (instead of index.php), then this will work for you, all you need to do is to ensure that your .htaccess file first processes the index.html file, and then the index.php file. So, in order to access your Joomla website, your link should be http://www.yourwebiste.com/index.php . Here's the line that you should add in your .htaccess file:
DirectoryIndex index.html index.php
Related
I have an installed WordPress website.
I'm working on the site, therefore, I want to show a constructor page for the internet user. I have created a page which called first.html and I change the .htaccess file like below
#Alternate default index page
DirectoryIndex first.html
Now when I enter my domain name on the browser I can see the first.html. This is working properly.
I'd like to see my changes by entering the domain and page name on the browser like
www.mydomain/index.php
or
www.mydomain/wp-content/themes/XXXTHEME/index.php
However, my theme pages don't work.
How can I achieve to do this?
Instead of making changes in .htaccess, I'd suggest you to use this plugin : https://wordpress.org/plugins/maintenance/
Simply name your html file "index.html"
Web servers most commonly parse the index.html file firstly (unless told otherwise) and if it is not found, it proceeds to index.php
This also allows you to simply change that ".html" part to ".php" to see the website you are working on, without installing plugins that clutter your database or making unnecessary changes to your .htaccess file.
I am trying to use wordpress in conjunction with my static site. The wordpress page will just be the gallery. I have wordpress installed in the root dir of my site to prevent an extra subfolder in the link (site.com/wp/page).
I am trying to my index page as the static on which isn't using wordpress so what I tried doing was changing the directoryindex file in the .htaccess but obviously didn't work because wordpress uses index.php to launch the wordpress environment.
Does anyone know any work around for this? It would be greatly appreciated.
Add this to your .htaccess file :
DirectoryIndex mynewindex.php
this will set your main directory index to be mynewindex.php so change it to what ever index page you want .
#GANIZ
Here is a way to help you achieve what you want. You can create a subdomain ex. gallery.example.com and point it to the new directory you have created in root dir.
This should make it publicly available. Then the simplest form of importing a page from the wordpress installation is with an HTML iframe . Also note that Wordpress requires a MYSQL database.
I know this may sound simple and over asked, but I searched and didn't found. I also asked on two other forums and they couldn't answer.
So here I go:
I have a joomla website (www.example.com) The home page is www.example.com/en, but I want to have a landing page directly on www.example.com. On this page will be a menu to redirect to the main site which is in 3 different languages (so a menu with 3 options). I already have my html and css page for the landing page-menu ready. I just need to know how to put it as the home page of my website.
I use GoDaddy, and there are many index.html, index.php, config.php, .htaccess, in the file manager. Do I just put my html and css files along with my images in the root folder? Or do I also need to redirect some url somewhere?
I hope I have been clear! Thanks!
You could set DirectoryIndex in your .htaccess file.
DirectoryIndex intro.html index.php
This will make intro.html the default page that will be loaded and index.php as fallback.
Reference: DirectoryIndex Directive.
Hope this helps
Prepare a landing page with the menu as u wish and name index.php/ index.html as your choice. Replace the file on the server with this file.
I want to change index.php to index1.php in joomla eg :
Now it is www.domain.com/index.php?option=com_content.....
I want change to :
www.domain.com/index1.php?option=com_content.........
In Joomla, index.php is the starting point for every single "page" that can be displayed by the CMS. Trying to change that would require extensive changes to the Joomla core. I would highly recommend not doing that, you will regret it. You have a couple of options -
Use index.html or maybe default.php for the other info you want. You can change the order that the web server uses the default file so that one of those comes up before index.php
Put Joomla in a subdirectory
Recently I've been working to develop a multi-user Wordpress site with Wordpress 3.0 however at the moment we are iso.g one server to showcase preview static content in a subdirectory while multi WP is in the root directory.
My question however is how to keep the root directory hidden from the publc. Curntly I have a PHP index file handling he redirect howevwer as WP has its own index file I waned to ask about any possible alternatives.
Thanks very much for any assistance,
You're probably going to want to do it with an .htaccess file. However, Wordpress has one of those too, so rename the current .htaccess file to .htaccess.orig (or whatever you want... but don't delete it) and then create your new .htaccess file with your 301 redirect.
Then whenever you are done, just rename everything back to the way it was.