I have hyperlink properties as static external link . so when updating for URL, I have changed URLID in URL maintenance under below navigation.
peopletools-->administration-->utilities-->URL's
These changes have been migrated from one instance to another. but after navigating to the particular location , its not letting me to the updated page. instead its navigating me to the old page. I was wondering what would be the reason?
Do you have another language installed? If so, the URL table have a lang record, you should check at the Lang record.
Which tools are u?
Related
Details:
I create virtual hosts for development like http://project.client.dev and then use browsersync for live reloading and whatnot, which creates a proxy at http://localhost:3000. This causes all URLs on the page to be written to http://localhost:3000, which in 99% of cases is exactly what I want, but sometimes I want to link to that original http://project.client.dev path instead.
Question:
Is it possible to have browsersync not update just particular URLs? Like, add a class of do-not-update or something and have those stay http://project.client.dev instead of being updated to http://localhost:3000?
Use Case:
I build WordPress websites. When I'm clicking around the site's front-end I want those http://localhost:300 addresses so live reloading occurs. On the back-end however, I don't want those paths ending up in the database or, worse yet, browsersync reloading my admin screens while I'm editing content. Typically I just open one tab on the front-end and one on the back-end using the respective domains, but I'd like to add an in-development link to the footer that says "edit page ID 123" and opens the current front-end page up on the back-end for editing; problem is, it opens the http://localhost:3000 version of the back-end and I need to manually update the URL every time (provided I remember to do so).
I think is it not possible at this moment to exclude some URLs. But have a look at the documentation : https://www.browsersync.io/docs/options
I am using window.history.pushState(name, title, url); to change the browser URL to let the user know what static url corresponds to an application tab pane.
But Meteor reloads the last real URL (the URL we landed on, before pushState) at each application state change (Meteor reactivity).
How do I change the URL without using a Router.go (that's too heavy for what I am doing, just clicking on a application tab).
OK, I figured it out. The whole route was triggered again (so reloading the page) because I called a reactive function in onAfterAction. pushState is fine. Meteor also. Duh. :)
I would like to get a Page URI from the Tridion Page PublishPath (URL from public site).
I know I can use the WebDavURL to get the Page - but there are many cases where this does not match the Page Path (such as the case when the Page Filename is 'News Home' but the filename is 'index').
I currently do not think this is possible in Tridion and have thought about the following solutions:
Store the Page Publish Path in the Tridion Solr Index (by extending it)
Customized Tridion Search Index Handler: Custom vs Standard field for page url?
Use the Event System and persist the PublishPath and Uri to an external DB / KeyValueStore.
Other ideas?
This code would be used in a script that updates many pages but also for Editors to open a Page using the Page URL.
This may be considered an odd approach, but could you query the Broker to get the PageMeta by URL, and then you will be able to access the the URI from the PageMeta object?
Just a thought - but it is probably not ideal - Can you share some more background on the problem?
I'm assuming you need to do this CME side? Is performance a factor?
You could build a function in Tom.net or the CoreService to split the path you have and loop through the sgs and pages till you arrive at the correct content page. As long as the path information hasn't been changed since the page published, this should map together.
Building a site (in Drupal) that can only be linked to and viewed by members of a separate site (asp).
The URL to the Drupal site will only be visible to members on the asp site but I don't want them to copy and paste that URL and share it with non-members.
So... how do I make that URL constantly changing and distinct (i.e. current date?) and how do I have the Drupal site check to see that the URL is coming from the member site only?
I was thinking an .htaccess file could check for certain variables in the URL.. but A) don't know how to add a changeable variable to the URL and B) don't know the mod rewirte rule to check for that variable in the URL
Any help appreciated....
Not sure how efficient a deterrent it would be.. but time will return the current date which you can then append to your url.
Most web browsers pass the HTTP_REFERER variable by default, but in many this behaviour can be changed to not show it or to pass something else instead. There is also 3rd party anti-spyware etc software that can be installed on a user's computer which also prevents the referrer information from being passed to the web server. Because it can also be changed to something else, the HTTP_REFERER cannot be trusted, but it is still useful for working out where people have come from.
Copied from electrictoolbox.com read more here
I am developing one web application in asp.net. I am opening my all pages on pop up window. I want to expire my session or change the session value when someone copy the url and paste it into another tab. How can i implement it ?
Please help me out.
A simple way would be to check Request.UrlReferrer. The Referrer would be empty if the user copy pastes a URL.
A couple of points you should consider before using this:
Provide exceptions for any pages that can be directly entered by
the user. For e.g. the login page or a page that can be bookmarked
I believe a pop can be opened from Javascript, without a referrer. Make sure your existing code is not using this method to open a pop up.
For a generic way to determine if the user has opened a new tab, see here
I have solved this problem by using this
string referer = Request.ServerVariables["HTTP_REFERER"];
if (string.IsNullOrEmpty(referer))
{
Response.Redirect("../Index.htm");
}