I am trying to make my site look more professional by removing the html endings from the pages..
ex. just leaving at http://33tpm.com/es/tienda
All the answers Ive found so far are so confusing that I don't really understand anything..
Can someone please help me out?
Thank you
Thomas
It's hard to answer this without knowing what web server you are using.
On Apache, you would usually use mod_rewrite to change the appearance of URLs without changing the underlying file structure. An example of hiding .html would be:
RewriteRule ^/some/directory/(.*)$ /some/directory/$1.html
Related
I am in the middle of migrating a Magento site over to a new server. I followed instructions provided in this video to a T-
https://www.youtube.com/watch?v=OiWmZFxrZns
However, now when I try to access the transferred site, any pages just download to my desktop instead of displaying in browser.
I have never encountered this before. Have you? Does anyone know what this could be? I apologize if this is too broad, but I'm wondering if maybe it's something I have to change in a file like .htaccess or something
Help!
As I suspected- it was the .htaccess file. I fixed the issue by deleting the file altogether, though I'm sure I want only able to get away with that because I migrated everything into a subdirectory to begin with rather than the root. I am unsure if this will still be a viable solution for those experiencing the same problem in a root directory.
Can any one know what this file is about? http://www.symbios.pk/x.dep.PIE.htc? Is it safe to keep on server? I've never seen such before and this is one of highest accesses pages on my site.
At a fast glance, this looks safe and appears to stem from a CSS3 compatibility layer: CSS3 PIE. If you are worried, you can always re-download the file from the website and re-add it, but I would keep a backup first in case of any version incompatibilities.
The file on your web server doesn't match Beta 1.0.0's PIE.htc exactly but it is rather similar and it also already good to know that a .htc file does indeed come from CSS3 PIE. The extension of a file obviously doesn't say much about its contents but it's still reassuring to see that it is an expected file ending. (I've never encountered an .htc file before, so this raised some concerns for me.)
As for it being visited a lot, this doesn't have to mean anything. Possibly the file is being checked out by bots or someone is hotlinking your JS file; it's hard to say without context but if it's a JavaScript file from some framework you should be fine. The good news here is that this is JavaScript, so it can't compromise your server (but it could attack a browser loading the file).
If all else fails and you know where your pages use this file, you could try renaming the file so anyone hotlinking or just guessing for the existence of the file would have a tougher time. I don't really understand why someone would take interest in a small JavaScript file, though.
Interestingly, visiting your main page at symbios.pk doesn't load the file, though. Maybe some back-end module? If multiple people are working on the website, I would suggest asking all of the developers if they know about this file. It would be interesting to compare the creation date with that of similar files.
I have a live joomla website which i copied on my development server which has the URL "dev.xxx.ch". The base site works but when i click on a link it fails. The link is generated right: dev.xxx.ch/gyger/ but then the sites goes to xxx.ch
Can anybody fix me?
Check your configuration.php file in your root directory. This line should say:
public $live_site = 'http://dev.pingag.ch';
If it doesn't change it. With that said, that's not the only thing you need to worry about. Make sure you have followed the proper directions on copying over a site.
I also highly recommend using Akeeba backup. It is free and takes care of everything for you. Really the only way to go. Although a word of warning with Akeeba backup, make sure to follow the documentation carefully, it will save you tons of time.
I'm relatively new to Joomla. I do have some experience and can make a pretty good website though. What i am struggling with is importing my own background image into the subway theme? I have done some searching and people keep saying to overwrite one of the images in the 'background' folder. Seems simple enough, except that this folder doesn't seem to exist anywhere! Any help would be greatly appreciated, thanks in advance!
The folder must exist. You should be looking for
templates/yoo_subway/images/background/
Then you will have a choice of 8 folders, depending on what preset you are using for the template.
If you still somehow seem to struggle with this, please provide a website link.
Regards
Unsure if this should be on here or serverfault so apologies if I'm wrong.
I just moved my site from one folder to another on my server (what happened was, I was doing an update, which didn't quite work, so I transferred all the old files back). Now all my images on the site are broken.
Does anyone know why this happens? Or how to fix it more importantly?
Any help/advice would be appreciated!
Thanks
EDIT:
Okay, apparently I need to make sure the code is compiled, but completely lost as to how to do this..any ideas?
I'm also on a windows 2008 server, running IIS7. The application is written in C# .net MVC.
It doesn't seems that you have a compilation problem since the aplication is working. I mean, if you can run the website, but you are only missing the images, try to look for the paths and check if the image files are in there.
For an MVC (C#) app you should have the directory like this:
root/global.asax
root/web.config
root/Views/..
root/Model/..
´root´ is gonna be your first public folder on the WebServer
Hope it helps!
Make sure the paths to your image files (and any files for that matter) are relative to the root directory of your web site. This way, if you ever move all of the files pertaining to your web site from one location to another, everything stays relative and nothing should be broken.