When I use: {{store url="forum"}} it results in: www.domain.com/index.php/forum. I want the url without index.php .i.e. www.domain.com/forum. What do I need to change for this to work?
this is what you need to use:
{{config path="web/unsecure/base_url"}}
i hope this was helpful
sorry about the last answer...i misunderstood your question.
there are a number of ways to accomplish what you want.
you can change the base URL by going to SYSTEM > CONFIGURATION > WEB > SECURE
and SYSTEM > CONFIGURATION > WEB > UNSECURE respectfully (this might have repercussions and must be used carefully!!!)
you can continue to use the base URL the way it is and work around it.
if you can explain what your specific problem i think i'll be able to help you.
feel free to respond
good luck
Go to System > Configuration > Web > Search Engines Optimization and ensure "Use Web Server Rewrites" is set to "Yes".
Related
I use Swagger to test APIs, and when I use the following code to change the file extension, the page refreshes:
System.IO.File.Move(strFiles.FirstOrDefault(), Path.ChangeExtension(strFiles.FirstOrDefault(), ".html"));
Thank you
I don't know if it's a bit late and you've already found a solution but I had exactly the same problem and solved it this way:
Go to: Tools > Options > Projects & Solutions > ASP.NET Core > Auto build and refresh options and put it to none (https://stackoverflow.com/a/68143618)
I just got a typo3 website and need to transfer to an other domain.
Is it enough to copy all the folders (except typo3temp?) to the new place?
First I just changed baseurl in ts but it didn't do anything..
Should I do anything with the database when it still on the same server?
In case your question is about "cloning" a complete TYPO3-system an rsync/copy of the whole folder (yes including typo3temp) is the best idea, as this works on all versions, everything else (like excluding typo3temp) depends a whole lot on your TYPO3 expertise to resolve. The database needs to be copied as well. If you need to change db-name or db-credentials on the new system you need to change them in
typo3conf/LocalConfiguration.php
As soon as you have done this Install Tool and Backend should work: At first try the Install Tool:
https://my.new.domain/typo3/install/
If that doesn't work your problem is with the webserver configuration or dns.
If that works (and the reports there show no errors), try the Backend:
https://my.new.domain/typo3/
In case your question is about which changes are necessary to your TYPO3-installation if domain changes and the web server itself is configured correctly, then there are probably two things you need to change, in order to make the frontend work (although both cases might be omitted, depending on your configuration):
sys_template record, if any of those use absRefPrefix or baseurl. If you have access to the MySQL-Database a
SELECT pid FROM sys_template WHERE config LIKE "%baseurl%" OR "%absRefPrefix";
might help finding the template, however these template configuration might also be stored in files (typically in fileadmin/templates/**)
sys_domain records, a MySQL
SELECT pid FROM sys_domain;
might uncover where those are stored
However these changes are only necessary to enable the frontend to work.
Add a domain record in the backend. And while you don't need the content of the typo3temp folder, make sure the folder actually exists.
When you go to the new domain name in your browser, what happens?
Do you get redirected to the old domain? If so, maybe there is an .htaccess redirect happening.
Do you get to the new domain, but if you click on a link end up on the old one?
Do you get an error? If so, what is the error?
Does something else happen?
Recently I got the error "automation server can't create object", for which I know the solution is to add your website to trusted sites and enable the setting: "Initialize and script ActiveX controls not marked as safe for scripting". But since this is a security issue, I searched for an alternative workaround but came up with nothing.
So, I am wondering if there is any other work around for this?
Please look at this SO question. Check if you did everything that was discussed there.
The first thing is to implement IObjectSafety interface. Then sign the activex and installer and CAB. You might also want to look at this example how to implement an activex.
I developed a site for a client before a domain name was chosen. As a result, the URLs for the site pages look like:
http://host.mynost.net/~tempname/index.php?id=8
A domain name has now been purchased but if I click on any Wayfinder links it still uses the old path as above instead of, say:
http://domainname.com/index.php?id=8
I assume this is configured in the config.inc.php file, but I am unsure of what to change.
Can anyone point me in the right direction? Thanks!
You need to change $modx_base_url= '/' in /core/config/config.inc.php and if that is not enough - manually clean /core/cache/ folder.
Four years later, I've dealt with the same thing for a few months, and was incredibly frustrated.
An updated answer to this issue would be navigating to Settings (icon) > Context, then choosing Key > web (right click) > Update Context > Context Settings.
Change http_host (ex. localhost) and site_url (ex. http://localhost/).
Now, from the top menu Manage > Clear Cache as well as Manage > Clear Cache > Refresh URIs.
It was like finding a pot of gold.
I have a web on some super-old Modx version which I needed to temporarily set up for viewing, and I ran into this issue.
The way I changed the base URL is in the database:
table: modx_context_setting
key: site_url
This outlines how to move modx to a new location ~ which is essentially what you have done.
http://rtfm.modx.com/display/revolution20/Moving+Your+Site+to+a+New+Server
genereally you can get away with updating the config.inc.php & clearing the cache, but it's a good idea to go through the system setting table in the db looking for old paths, some packages do store path info in there.
I create the multi language website with linguaplone.
Now I should fix the baseurl to .../en or ...../de for two versions.
what should I do?
I have really no idea what you are exactly asking and why.
But you are probably want to set navigation base URL using LinguaPlone language folders feature
http://pypi.python.org/pypi/Products.LinguaPlone/4.1.2#installation
See ##language-setup-folders